Package | Description |
---|---|
org.dynamide.interpreters | |
org.dynamide.restreplay | |
org.dynamide.restreplay.mutators |
Modifier and Type | Field and Description |
---|---|
Map<String,ServiceResult> |
Eval.importsNamespace |
Map<String,ServiceResult> |
Eval.serviceResultsMap |
Modifier and Type | Method and Description |
---|---|
static ServiceResult |
Transport.doDELETE(ServiceResult result,
String urlString,
String authForTest,
String testID,
String fromTestID) |
static ServiceResult |
Transport.doGET(ServiceResult result,
String urlString,
String authForTest,
String fromTestID) |
static ServiceResult |
Transport.doLIST(ServiceResult result,
String urlString,
String listQueryParams,
String authForTest,
String fromTestID) |
static ServiceResult |
Transport.doPOST_PUT(ServiceResult result,
String urlString,
String content,
String contentRaw,
String boundary,
String method,
String contentType,
String authForTest,
String fromTestID,
String requestPayloadFilename,
List<String> uploadFilenames)
This does not deal with boundary or multipart since being ported.
|
ServiceResult |
ServiceResult.getParent() |
Modifier and Type | Method and Description |
---|---|
List<ServiceResult> |
RestReplay.autoDelete(Map<String,ServiceResult> theServiceResultsMap,
String logName)
Use this method to clean up resources created on the server that returned CSIDs, if you have
specified autoDeletePOSTS==false, which means you are managing the cleanup yourself.
|
List<ServiceResult> |
RestReplay.autoDelete(String logName) |
static Map<String,ServiceResult> |
RestReplay.createResultsMap() |
Map<String,ServiceResult> |
RestReplay.ImportFilter.filter(org.dom4j.Node testgroup,
Map<String,ServiceResult> masterNamespace) |
List<ServiceResult> |
ServiceResult.getChildResults() |
Map<String,ServiceResult> |
RestReplay.getMasterNamespace() |
Map<String,ServiceResult> |
Master.getMasterNamespace() |
Map<String,ServiceResult> |
RestReplay.getServiceResultsMap() |
List<List<ServiceResult>> |
Master.runMaster(String masterFilename) |
List<List<ServiceResult>> |
Master.runMaster(String masterFilename,
boolean readOptionsFromMaster)
Creates new instances of RestReplay, one for each controlFile specified in the master,
and setting defaults from this instance, but not sharing ServiceResult objects or maps.
|
List<List<ServiceResult>> |
Master.runMaster(String masterFilename,
boolean readOptionsFromMaster,
String controlFile,
String testGroup,
String test) |
List<ServiceResult> |
RestReplay.runRestReplayFile(String testdir,
String controlFileName,
String testGroupID,
String oneTestID,
Map<String,Object> masterVarsOverride,
boolean param_autoDeletePOSTS,
String protoHostPortParam,
AuthsMap authsFromMaster,
List<String> reportsList,
String reportsDir,
String relativePathFromReportsDir,
String masterFilenameInfo,
String runID,
Integer runHashCount,
List<RestReplayReport.Header> testGroups) |
List<ServiceResult> |
RestReplay.runTests(String testGroupID,
String testID,
String runID,
Integer runHashCount,
List<RestReplayReport.Header> testGroups)
Use this if you wish to run named tests within a testGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceResult.addChild(ServiceResult child) |
void |
RestReplayReport.addTestResult(ServiceResult serviceResult) |
protected static void |
RestReplayReport.appendPayload(ServiceResult serviceResult,
StringBuffer fb,
String payload,
ServiceResult.PRETTY_FORMAT format,
String title,
String theDivID,
String subtitle) |
protected static void |
RestReplayReport.appendPayload(ServiceResult serviceResult,
StringBuffer fb,
String payload,
ServiceResult.PRETTY_FORMAT format,
String title,
String theDivID,
String subtitle,
boolean usePRE) |
String |
RestReplayReport.detail(ServiceResult s,
boolean includePayloads,
boolean includePartSummary,
String linesep,
String end,
int tocID) |
static ServiceResult |
Transport.doDELETE(ServiceResult result,
String urlString,
String authForTest,
String testID,
String fromTestID) |
static ServiceResult |
Transport.doGET(ServiceResult result,
String urlString,
String authForTest,
String fromTestID) |
static ServiceResult |
Transport.doLIST(ServiceResult result,
String urlString,
String listQueryParams,
String authForTest,
String fromTestID) |
static ServiceResult |
Transport.doPOST_PUT(ServiceResult result,
String urlString,
String content,
String contentRaw,
String boundary,
String method,
String contentType,
String authForTest,
String fromTestID,
String requestPayloadFilename,
List<String> uploadFilenames)
This does not deal with boundary or multipart since being ported.
|
static String |
RestReplayReport.formatExpectedTreewalkRangeColumns(ServiceResult s) |
static String |
RestReplayReport.formatMutatorSUCCESS(ServiceResult serviceResult) |
static String |
RestReplayReport.formatPayloads(ServiceResult serviceResult,
int tocID) |
String |
RestReplayReport.formatSummary(ServiceResult serviceResult,
int tocID)
Note: anchor tag is spit out by appendTestAnchor() before this because this gets wrapped in divs by appendServiceResult()
|
static void |
RestReplayTest.logTest(ServiceResult sresult,
String testname) |
void |
ConfigFile.readHeaders(org.dom4j.Node testNode,
Eval evalStruct,
ServiceResult serviceResult,
Map<String,String> headerMap,
Map<String,Object> clonedMasterVars)
Inserts headers read from file into requestHeaderMap, condensing multiples
with org.apache.commons.httpclient.HeaderGroup, so that if you set
a header in the map such as [Accept: text/json] and then read another
header such as [Accept: application/json], then the result will be one header entry with
[Accept: text/json, application/json]
|
static Map<String,Object> |
ConfigFile.readVars(org.dom4j.Node nodeWVars,
ResourceManager rm,
ServiceResult serviceResult,
Eval evalStruct,
Map<String,Object> masterVars) |
static RestReplayTest.ResultSummary |
RestReplayTest.resultSummary(ServiceResult serviceResult,
RestReplayTest.FORMAT format) |
protected EvalResult |
RestReplay.runValidatorScript(ServiceResult serviceResult,
org.dynamide.restreplay.RestReplay.PartsStruct expectedResponseParts,
Eval evalStruct) |
protected void |
RestReplay.runValidatorScriptSinglePayload(ServiceResult serviceResult,
org.dynamide.restreplay.RestReplay.PartsStruct expectedResponseParts,
Eval evalStruct) |
File |
RestReplay.saveServiceResultToJSON(ServiceResult serviceResult) |
void |
LoopHelper.setGlobalVariablesForLooping(ServiceResult serviceResult,
Eval evalStruct,
int itnum) |
protected void |
ServiceResult.setParent(ServiceResult sr) |
protected static boolean |
Transport.setupUpload(org.apache.commons.httpclient.methods.PostMethod postMethod,
List<String> uploadFilenames,
ServiceResult result) |
protected String |
RestReplay.validateResponse(ServiceResult serviceResult,
org.dynamide.restreplay.RestReplay.PartsStruct expectedResponseParts,
Eval evalStruct) |
protected String |
RestReplay.validateResponseSinglePayload(ServiceResult serviceResult,
org.dynamide.restreplay.RestReplay.PartsStruct expectedResponseParts,
Eval evalStruct) |
Modifier and Type | Method and Description |
---|---|
List<ServiceResult> |
RestReplay.autoDelete(Map<String,ServiceResult> theServiceResultsMap,
String logName)
Use this method to clean up resources created on the server that returned CSIDs, if you have
specified autoDeletePOSTS==false, which means you are managing the cleanup yourself.
|
Map<String,ServiceResult> |
RestReplay.ImportFilter.filter(org.dom4j.Node testgroup,
Map<String,ServiceResult> masterNamespace) |
static LoopHelper |
LoopHelper.getIterationsLoop(int testElementIndex,
String testGroupID,
org.dom4j.Node testNode,
Eval evalStruct,
Map<String,Object> clonedMasterVars,
RunOptions runOptions,
RestReplayReport report,
List<ServiceResult> results) |
static void |
RestReplayTest.logTest(List<ServiceResult> list,
String testname) |
static void |
RestReplayTest.logTestForGroup(List<List<ServiceResult>> list,
String testname) |
static RestReplayTest.ResultSummary |
RestReplayTest.resultSummary(List<ServiceResult> serviceResults,
RestReplayTest.FORMAT format) |
static RestReplayTest.ResultSummary |
RestReplayTest.resultSummaryForGroup(List<List<ServiceResult>> list,
RestReplayTest.FORMAT format) |
static File |
RestReplayReport.saveIndexForMaster(String testdir,
String reportsDir,
String localMasterFilename,
List<String> reportsList,
String envID,
Map<String,Object> masterVars,
List<RestReplayReport.Header> testGroups,
Master master,
List<List<ServiceResult>> list,
List<String> masterAlertStrings) |
void |
RestReplay.setMasterNamespace(Map<String,ServiceResult> namespace) |
Constructor and Description |
---|
OneTest(ServiceResult serviceResult,
List<ServiceResult> results,
org.dom4j.Node testNode,
org.dom4j.Node testgroup,
Eval evalStruct,
String testIDLabel,
String testID,
String testGroupID,
String fullURL,
String protoHostPort,
String authForTest,
long startTime) |
Constructor and Description |
---|
OneTest(ServiceResult serviceResult,
List<ServiceResult> results,
org.dom4j.Node testNode,
org.dom4j.Node testgroup,
Eval evalStruct,
String testIDLabel,
String testID,
String testGroupID,
String fullURL,
String protoHostPort,
String authForTest,
long startTime) |
Modifier and Type | Method and Description |
---|---|
String |
VarMutator.getContentRaw(Eval evalStruct,
ServiceResult serviceResult) |
String |
VarMutator.mutate(Map<String,Object> clonedMasterVars,
Eval evalStruct,
ServiceResult serviceResult) |
String |
IMutator.mutate(Map<String,Object> clonedMasterVars,
Eval evalStruct,
ServiceResult serviceResult)
IMutator descendent implementations should override this method.
|
String |
ExcludeFields.mutate(Map<String,Object> clonedMasterVars,
Eval evalStruct,
ServiceResult serviceResult) |
Copyright © 2016. All rights reserved.