All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addCallResult(FeatureResult callResult) |
void |
assertTrue(String expression) |
void |
assign(AssignType assignType,
String name,
String exp) |
void |
call(boolean callonce,
String line) |
void |
capturePerfEvent(PerfEvent event) |
void |
configure(Config config) |
void |
configure(String key,
ScriptValue value) |
void |
configure(String key,
String exp) |
void |
cookie(String name,
String value) |
void |
cookies(String expr) |
ScenarioContext |
copy() |
ScenarioContext |
copy(ScenarioInfo info) |
void |
driver(String expression) |
void |
embed(byte[] bytes,
String contentType) |
void |
embed(Embed embed) |
ScriptValue |
eval(String exp) |
void |
formField(String name,
List<String> values) |
void |
formFields(String expr) |
List<FeatureResult> |
getAndClearCallResults() |
List<Embed> |
getAndClearEmbeds() |
int |
getCallDepth() |
Config |
getConfig() |
ScenarioExecutionUnit |
getExecutionUnit() |
FeatureContext |
getFeatureContext() |
HttpClient |
getHttpClient() |
HttpRequest |
getPrevRequest() |
HttpResponse |
getPrevResponse() |
HttpRequestBuilder |
getRequestBuilder() |
URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
void |
header(String name,
List<String> values) |
void |
headers(String expr) |
boolean |
hotReload() |
void |
invokeAfterHookIfConfigured(boolean afterFeature) |
boolean |
isPrintEnabled() |
Object |
listen(long timeout,
Runnable runnable) |
void |
logLastPerfEvent(String failureMessage) |
void |
match(MatchType matchType,
String name,
String path,
String expected) |
void |
method(String method) |
void |
multipartField(String name,
String value) |
void |
multipartFields(String expr) |
void |
multipartFile(String name,
String value) |
void |
multipartFiles(String expr) |
void |
param(String name,
List<String> values) |
void |
params(String expr) |
void |
path(List<String> paths) |
void |
print(List<String> exps) |
void |
remove(String name,
String path) |
void |
replace(String name,
List<Map<String,String>> table) |
void |
replace(String name,
String token,
String value) |
void |
request(ScriptValue body) |
void |
request(String requestBody) |
void |
retry(String expression) |
void |
robot(String expression) |
void |
set(String name,
String path,
List<Map<String,String>> table) |
void |
set(String name,
String path,
String value) |
void |
setExecutionUnit(ScenarioExecutionUnit executionUnit) |
void |
setLogger(Logger logger) |
void |
setPrevRequest(HttpRequest prevRequest) |
void |
setPrevResponse(HttpResponse prevResponse) |
void |
setScenarioError(Throwable error) |
void |
signal(Object result) |
void |
soapAction(String action) |
void |
status(int status) |
void |
stop(StepResult lastStepResult) |
void |
table(String name,
List<Map<String,String>> table) |
void |
updateConfigCookies(Map<String,Cookie> cookies) |
void |
updateResponseVars() |
void |
url(String expression) |
WebSocketClient |
webSocket(WebSocketOptions options) |