public class StandaloneTestCaseRun extends TestCaseRun
Constructor and Description |
---|
StandaloneTestCaseRun(TestCase testCase,
java.lang.String user,
java.io.File mainResultsDir,
int run,
java.lang.String masterRequestId,
LogMessageMonitor monitor,
java.util.Map<java.lang.String,Process> processCache,
TestExecConfig config) |
Modifier and Type | Method and Description |
---|---|
protected HttpHelper |
getHttpHelper(java.lang.String method,
java.lang.String endpoint,
java.lang.String user,
java.lang.String password) |
protected java.lang.String |
getStringValue(VariableInstance var,
Package pkg) |
protected java.util.List<ProcessInstance> |
loadResults(java.util.List<Process> processes,
Asset expectedResults,
TestCaseProcess mainTestProc) |
void |
run()
Standalone execution for Gradle.
|
deleteResultsFile, executeVerifyResponse, finishExecution, getConfig, getDefaultMessageHeaders, getHttpHelper, getLog, getMasterRequestId, getMonitor, getProcessCache, getProcessInstances, getProcessQuery, getResultsDir, getRunNumber, getStubResponse, getStubResponse, getTaskQuery, getTestCase, getUrl, getUser, getWaitKey, isCreateReplace, isLoadTest, isStubbing, isVerbose, performWait, qualify, setLog, setMasterRequestId, setMasterRequestListener, startExecution, submitItem, translateToYaml, verifyItem, verifyProcesses
public StandaloneTestCaseRun(TestCase testCase, java.lang.String user, java.io.File mainResultsDir, int run, java.lang.String masterRequestId, LogMessageMonitor monitor, java.util.Map<java.lang.String,Process> processCache, TestExecConfig config) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class TestCaseRun
protected java.util.List<ProcessInstance> loadResults(java.util.List<Process> processes, Asset expectedResults, TestCaseProcess mainTestProc) throws java.io.IOException, org.json.JSONException, java.text.ParseException
loadResults
in class TestCaseRun
java.io.IOException
org.json.JSONException
java.text.ParseException
protected java.lang.String getStringValue(VariableInstance var, Package pkg) throws TestException
getStringValue
in class TestCaseRun
TestException
protected HttpHelper getHttpHelper(java.lang.String method, java.lang.String endpoint, java.lang.String user, java.lang.String password) throws java.net.MalformedURLException
getHttpHelper
in class TestCaseRun
java.net.MalformedURLException
Copyright © 2019 CenturyLink, Inc.