Forum Discussion

dezza101's avatar
dezza101
New Contributor
11 years ago

url params not being populated

Hi Testers

 

I run my Soapui tests through junit. I simply select the project and tescase and run, which works fine.

 

I'm able to pass parameters to the test fine - they are double checked by printing them out in a Groovy script. However my problems occurs when im trying to populate the Rest test step paramters.

 

I have around 8 params and only 2/3 of them actually get pulled in to construct the URL. The names are identical, the values exists ie. I'm setting a property in Java:

 

"suite.setPropertyValue("someKey", "someVal");"

 

and this is referenced in the test step using:

 

"${#TestSuite#someKey}"

 

My problem arises when in the logs only 2/3 of the params appear where there should be at least 7.

 

I first used the SoapUITestCaseRunner and then wasted another day developing and used the WsdlProject classes and both produce the same results.

 

Any thoughts?

1 Reply

  • dezza101's avatar
    dezza101
    New Contributor

    For some reason changing the name of the test step fixed it. Poor program and very poor interface.:smileymad: