Ask a Question

How/Where to configure Endpoint in SOAPUI task in VSTS

PERSIN
Contributor

How/Where to configure Endpoint in SOAPUI task in VSTS

HI,

 

I am trying to configure SOAPUI task in VSTS but getting error as below:

 

 

I have the project in .xml file and when I am trying to to execute the build then I am getting errors as below:

 

1. Missing endpoint for request [XYZ]

2. 08:19:32,383 ERROR [AbstractTestRunner] Exception during Test Execution

java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:795)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:211)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:128)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 
 
Can you please let me know where to configure Endpoint
 
Thanks,
Pratap
1 REPLY 1
Nastya_Khovrina
SmartBear Alumni (Retired)

Hi Pratap,

 

You can specify an environment which will set the endpoints to requests using the -E command line argument.

-e argument specifies the endpoint to be used in test requests. 

Note: The runner ignores this parameter (-e) if -E is specified. In this case, the endpoint is taken from the environment settings..

 

Documentation: https://support.smartbear.com/readyapi/docs/soapui/running/automating/cli.html

 


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: