Forum Discussion

9 Replies

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    I would use an array and iterate through it with a for statement, the only issue would be the & but a simple if statement could handle that or replace the first ampersand with a ? after the iteration.
  • vibha's avatar
    vibha
    New Contributor
    Thanks everyone !!

    I want to use Damn handy Uri jar file . I am able to replace all the parameters easily by keeping jar file in bin/ext folder of Soapui .

    But the challenge is
    If i keep that file in ext folder then i can run that Soapui project only in my local machine .

    In my project , we have integrated Soapui with TestNG . For that, all the soapui XMLs are called by a function in TestNG .

    Is there any way jar file can be included in Soapui XML without keeping it in bin/ext folder or can be passed to the Soapui XML file dynamically ?

    Thanks in Advance
  • SiKing's avatar
    SiKing
    Community Expert
    vibha wrote:
    I want to use Damn handy Uri jar file . I am able to replace all the parameters easily by keeping jar file in bin/ext folder of Soapui .

    That is an unnecessary complication. SoapUI can do this without additional dependencies; see:
    http://www.soapui.org/REST-Testing/unde ... eters.html
    http://www.soapui.org/Functional-Testin ... rties.html

    vibha wrote:
    Is there any way jar file can be included in Soapui XML without keeping it in bin/ext folder or can be passed to the Soapui XML file dynamically ?

    Use Maven:
    http://www.soapui.org/Test-Automation/maven-2x.html
  • vibha's avatar
    vibha
    New Contributor
    Thanks SiKing

    I went thru below URL but couldn't find much on including jar file to Soapui XML without keeping that jar file in bin/ext folder .

    http://www.soapui.org/Test-Automation/maven-2x.html

    Could you please explain me

    1) Is it feasible to include jar file to Soapui XML without keeping that jar file in bin/ext folder?
    2) If Yes, please provide some example for doing that.


    Thanks in Advance