| 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.FALSE |
static ScriptValue |
ScriptValue.NULL |
protected ScriptValue |
ScriptEvalContext.selfValue |
protected ScriptValue |
CallResult.value |
static ScriptValue |
ScriptValue.ZERO |
| Modifier and Type | Method and Description |
|---|---|
static ScriptValue |
Script.call(ScriptValue called,
String argString,
ScenarioContext context,
boolean reuseParentConfig) |
boolean |
Config.configure(String key,
ScriptValue value) |
static ScriptValue |
Script.evalJsExpression(String exp,
ScenarioContext context,
ScriptValue selfValue,
Object root,
Object parent) |
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) |
Http.Response |
Http.post(ScriptValue body) |
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,
ScriptValueMap vars) |
ScriptEvalContext(ScriptValue selfValue,
Object root,
Object parent) |
| Modifier and Type | Method and Description |
|---|---|
ScriptValue |
ScenarioContext.eval(String exp) |
ScriptValue |
ScriptBridge.fromObject(Object o) |
ScriptValue |
ScriptBridge.fromString(String exp) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScenarioContext.configure(String key,
ScriptValue value) |
void |
ScenarioContext.request(ScriptValue body) |
| Modifier and Type | Method and Description |
|---|---|
protected ScriptValue |
WebDriver.eval(String expression) |
protected ScriptValue |
WebDriver.eval(String expression,
List args) |
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 © 2020. All rights reserved.