Ask a Question

How to use a jar file in soapui

anthos
Occasional Contributor

How to use a jar file in soapui

Hi guys,

I have just a jar file which needs two params: (1) a token and (2) a file name. The program invokes a REST service.

The program works well with command line (see attached image).

How can I launch the same jar in soapui and pass the two input parameters into two variables in SOAPUI ?

How can I show the service response in SOAPUI ?

 

I'm sorry but this referred suggestion doesn't work--> https://community.smartbear.com/t5/SoapUI-Open-Source-Questions/how-to-invoke-java-class-from-soap-U...

 

Thanks a lot!!!

1 REPLY 1
nmrao
Community Hero

1. Can you not use the REST Request test step to invoke rest service?
2. If you want to use the command, then you try the below link which can invoke a command from groovy
https://stackoverflow.com/questions/34023086/how-to-invoke-cmd-commands-in-from-a-java-program-in-wi...
NOTE: mostly java code works in groovy too.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: