BalamuruganRavi
10 years agoOccasional Contributor
How to dynamically setEndpoint and credentials for soapUIPro
I have an requirement to read the project, testsuite, testcase, username,password and endpoint details from external file and execute through command prompt. Partially I am able to achieve this using below code
WsdlProjectPro project = new WsdlProjectPro(“projectxml”);
TestSuite testSuite = project.getTestSuiteByName(“testsuitename”);
TestCase testCase = testSuite.getTestCaseByName(“testcasename”);
TestRunner runner = testCase.run(new PropertiesMap(), false);
But here I don’t know how to set the endpoint and credentials for the same.
Can somebody please help me?
Thanks in advance,
Balamurugan Ravi.
WsdlProjectPro project = new WsdlProjectPro(“projectxml”);
TestSuite testSuite = project.getTestSuiteByName(“testsuitename”);
TestCase testCase = testSuite.getTestCaseByName(“testcasename”);
TestRunner runner = testCase.run(new PropertiesMap(), false);
But here I don’t know how to set the endpoint and credentials for the same.
Can somebody please help me?
Thanks in advance,
Balamurugan Ravi.