We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
1. Like it was mentioned earlier, you don't load from properties step
2. Please see the attached screen shot.
- Test case has custom property DATA_FILE where you provide the property file name
- In the setup script, use code from below script
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/testCaseSetup/LoadPropertiesFromFile.groovy
- You always run the test case (not individual test step, specially when property file content is changed)
Thanks Rao. Screen shots are attached, any help gratefully appreciated!
Linda
Thanks for that.
What type of file are you loading in step1? Is it comma separated file? Sample data would help.
So you wanted to put the data into Step2 as parameter values which are read from file?
Not sure of the significance of step3.
Sorry for the delay in responding.
I have attached the file. It seems to be working because the step that loads the parameters from the file is showing the correct values. They are just not being passed to step 2.. Step 3 is transferring the response to a custom project property that I use in my integration with my test tool.
Thanks Rao. I must not be using them right. I am new to REST so not completely familiar with where the custom properties need to be included so they will pass as parameters. I have attached a set of screen shots with the flow. I am getting the right property values loaded but they are still not being passed to the request.
Just FYI I am staying away from scripting because this project will be handed off to BAs who are not comfortable with script code. They can get around in SOAP UI and they can create the properties external file. I have done normal web services using custom properties in the past (you helped me then too, thanks) and it worked fine so it seems it should work here too.
As always, appreciate all of your patient and kind help.
Linda