SmartBear Connect 2018
Join us at SmartBear Connect 2018 on October 29th & 30th in Boston, MA.
Apply to speak and share your experience with the greater SmartBear Community
Reply
Highlighted
New Contributor

How to get teststep's all of request data?

Hello,

 

I'm newbie of Soapui plugin development.

 

I tried to get teststep's all of request data (include url, query, header, body data..)

 

I can get those data in Soapui groovy script easily before :

def myRequestStep = testRunner.testCase.getTestStepByName('Set Subscription');
byte[] a = myRequestStep.testRequest.response.getRawRequestData();
String data = new String(a, "UTF-8"); 

 

But I can't get those data in Soapui plugin java project.

Could you help me to get teststep's all of request data in plugin java project.

or share sample code?

 

Thank you in advance.