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, verifyProcessespublic 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.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class TestCaseRunprotected 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 TestCaseRunjava.io.IOExceptionorg.json.JSONExceptionjava.text.ParseExceptionprotected java.lang.String getStringValue(VariableInstance var, Package pkg) throws TestException
getStringValue in class TestCaseRunTestExceptionprotected 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 TestCaseRunjava.net.MalformedURLExceptionCopyright © 2019 CenturyLink, Inc.