Forum Discussion
Volvo_Informati_1
12 years agoOccasional Contributor
Hi
After trying to reproduce the problem with a smaller project and with my original project I have some good new and some bad news.
The good news, I got to it to work with the query parameters on the rest request. Both from inside SOAPUI and by using testrunner, the change I did was to rename of the restcall and not to include " " (spaces) in the names.
But then, the bad news, I had to restart my computer.
And the next time I opened my project in SOAPUI, It was not the same project as I saved before the restart. The changes I had made were not there.
I did the same changes again to my project, and made sure that I save the project. Everything worked well so far, both when running test from SOAPUI and testrunner.
But then I started to remove some unused rest calls from the test and saved project. The test worked fine when running in SOAPUI but stopped to work from testrunner. And the interesting thing here is that, then running from testrunner I sometimes get queryparameters on all my URL even on URLs that should not have query parameters. And sometimes I didn't get any queryParameters on any URLs.
I tried to do small changes in the project, make sure that test still worked when running from SOAPUI, and then saved the project and run the test using testrunner. And sometimes the changes did seem to be saved and picked up by testrunner, but sometime it looked like it was running with an old project.
Im very confused here, and this is a showstopper for us to continue use SOAPUI. We will start to look into other alternatives, but we have a lot of test and competence invested in SOAPUI and would be glad if we can continue to use SOAPUI and run our from commandline.
I know that my bug report looks very confused, but as I can not reproduce the same behaviour twice (and when I look into the soapui project files in disc they seem to contain a lot of information that I have removed from the project) you must give me instructions how I can help you to debug this and send you a better debug report.
As a developer I think the problem lies in how you save the project and loads it, and also maybe that you load the project in different ways depending on if gui if opening the project or if testrunner is opening the project.
Thanks, Pontus
After trying to reproduce the problem with a smaller project and with my original project I have some good new and some bad news.
The good news, I got to it to work with the query parameters on the rest request. Both from inside SOAPUI and by using testrunner, the change I did was to rename of the restcall and not to include " " (spaces) in the names.
But then, the bad news, I had to restart my computer.
And the next time I opened my project in SOAPUI, It was not the same project as I saved before the restart. The changes I had made were not there.
I did the same changes again to my project, and made sure that I save the project. Everything worked well so far, both when running test from SOAPUI and testrunner.
But then I started to remove some unused rest calls from the test and saved project. The test worked fine when running in SOAPUI but stopped to work from testrunner. And the interesting thing here is that, then running from testrunner I sometimes get queryparameters on all my URL even on URLs that should not have query parameters. And sometimes I didn't get any queryParameters on any URLs.
I tried to do small changes in the project, make sure that test still worked when running from SOAPUI, and then saved the project and run the test using testrunner. And sometimes the changes did seem to be saved and picked up by testrunner, but sometime it looked like it was running with an old project.
Im very confused here, and this is a showstopper for us to continue use SOAPUI. We will start to look into other alternatives, but we have a lot of test and competence invested in SOAPUI and would be glad if we can continue to use SOAPUI and run our from commandline.
I know that my bug report looks very confused, but as I can not reproduce the same behaviour twice (and when I look into the soapui project files in disc they seem to contain a lot of information that I have removed from the project) you must give me instructions how I can help you to debug this and send you a better debug report.
As a developer I think the problem lies in how you save the project and loads it, and also maybe that you load the project in different ways depending on if gui if opening the project or if testrunner is opening the project.
Thanks, Pontus