| Package | Description |
|---|---|
| com.intuit.karate | |
| com.intuit.karate.core | |
| com.intuit.karate.driver | |
| com.intuit.karate.http | |
| com.intuit.karate.validator |
| Modifier and Type | Field and Description |
|---|---|
static ScriptValue |
ScriptValue.NULL |
protected ScriptValue |
ScriptEvalContext.selfValue |
protected ScriptValue |
CallResult.value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Config.configure(String key,
ScriptValue value) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context,
ScriptValue selfValue,
Object root,
Object parent) |
Match |
Match.httpPost(ScriptValue body) |
static AssertionResult |
Script.matchJsonOrObject(MatchType matchType,
ScriptValue actual,
String path,
String expression,
ScenarioContext context) |
static AssertionResult |
Script.matchScriptValue(MatchType matchType,
ScriptValue actual,
String path,
String expected,
ScenarioContext context) |
static AssertionResult |
Script.matchString(MatchType matchType,
ScriptValue actual,
String expected,
String path,
ScenarioContext context) |
static AssertionResult |
Script.matchStringOrPattern(char delimiter,
String path,
MatchType stringMatchType,
Object actRoot,
Object actParent,
ScriptValue actValue,
String expected,
ScenarioContext context) |
static AssertionResult |
Script.matchXml(MatchType matchType,
ScriptValue actual,
String path,
String expression,
ScenarioContext context) |
void |
Config.setAfterFeature(ScriptValue afterFeature) |
void |
Config.setAfterScenario(ScriptValue afterScenario) |
void |
Config.setCookies(ScriptValue cookies) |
static void |
Script.setValueByPath(String name,
String path,
ScriptValue value,
boolean delete,
ScenarioContext context,
boolean viaTable) |
static void |
Script.setValueByPath(String name,
String path,
ScriptValue value,
ScenarioContext context) |
static com.jayway.jsonpath.DocumentContext |
Script.toJsonDoc(ScriptValue sv,
ScenarioContext context) |
| Constructor and Description |
|---|
CallResult(ScriptValue value,
Config config) |
ScriptEvalContext(ScriptValue selfValue,
Object root,
Object parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScenarioContext.configure(String key,
ScriptValue value) |
void |
ScenarioContext.request(ScriptValue body) |
| Modifier and Type | Method and Description |
|---|---|
ScriptValue |
DevToolsMessage.getParam(String key) |
ScriptValue |
DevToolsMessage.getResult() |
ScriptValue |
DevToolsMessage.getResult(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
DevToolsMessage.setResult(ScriptValue result) |
| Modifier and Type | Method and Description |
|---|---|
ScriptValue |
HttpRequestBuilder.getBody() |
ScriptValue |
MultiPartItem.getValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpRequestBuilder.addMultiPartItem(String name,
ScriptValue value) |
static String |
HttpUtils.getContentType(ScriptValue sv) |
void |
HttpRequestBuilder.setBody(ScriptValue body) |
void |
MultiPartItem.setValue(ScriptValue value) |
| Constructor and Description |
|---|
MultiPartItem(String name,
ScriptValue value) |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
NumberValidator.validate(ScriptValue value) |
ValidationResult |
UuidValidator.validate(ScriptValue value) |
ValidationResult |
ArrayValidator.validate(ScriptValue value) |
ValidationResult |
BooleanValidator.validate(ScriptValue value) |
ValidationResult |
NullValidator.validate(ScriptValue value) |
ValidationResult |
NotNullValidator.validate(ScriptValue value) |
ValidationResult |
Validator.validate(ScriptValue value) |
ValidationResult |
RegexValidator.validate(ScriptValue value) |
ValidationResult |
IgnoreValidator.validate(ScriptValue value) |
ValidationResult |
ObjectValidator.validate(ScriptValue value) |
ValidationResult |
StringValidator.validate(ScriptValue value) |
Copyright © 2019. All rights reserved.