agiletestware
14 years agoOccasional Contributor
obtaining details for HTTP and JDBC test steps
Hello,
I currently obtain details about soap/rest tests like this
....
if (st instanceof com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep)
{
def r = st.testRequest;
for( rt in testRunner.results )
{
if (rt.testStep.name.equals(st.name))
{
endpoint = rt.getEndpoint();
xmlRS = rt.responseContent;
........
How can I obtain the following using groovy
1. 'raw' request for HTTP test step
2. 'xml' output/response for http test step
3. connection string and query for JDBC test step
4. xml response for the jdbc query
Thanks in advance
I currently obtain details about soap/rest tests like this
....
if (st instanceof com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep)
{
def r = st.testRequest;
for( rt in testRunner.results )
{
if (rt.testStep.name.equals(st.name))
{
endpoint = rt.getEndpoint();
xmlRS = rt.responseContent;
........
How can I obtain the following using groovy
1. 'raw' request for HTTP test step
2. 'xml' output/response for http test step
3. connection string and query for JDBC test step
4. xml response for the jdbc query
Thanks in advance