I am currently using SOAPUI (Free Version).
I am looking to automate the tests so a value is place in each test, without having to manually enter them.
(At a Basic Level) Example
The test web service I am using is http://ift.tt/1TXmwoT.
The service has been set up as SOAP, a test suite has been built and a SOAP request test step has been assigned.
Out of the box, you can enter data manually in to the test step. However i am wanting too achieve three things using the free addition.
1) Add a randomized value to the test, so that a value of between is inserted each time the test is run. I am aware you can use Groovy but i am unsure whether the Groovy script needs to be added as a test step or as the set up script tab
2) Pull a list of data from a .csv or similar so the test continues to run through all data.
3) Repeat step 2 but set the assertions for each piece of test data to state whether the response should be valid or not.
If you could help it would be appreciated. # Cheers,
Tim
Aucun commentaire:
Enregistrer un commentaire