16 years ago
Using a variable (value from a previous test step) in an assertion
Hello,
I am fairly new to soapUIPro and have a question regarding assertions. I have a test that:
1. creates a record associated with a customer account - a key is assigned to that record
2. Searches for the record just created - value is transferred from the previous step into the request
3. Deletes the record -value is transferred from the first step
4. Search for the account and verify the record has been deleted.
I need to have a step that validates that the record has been deleted and that key is no longer present. I need to use the value from the response in the first step in my assertion for the fourth step. The search in the 4th step returns all records associated with the account.
How can I use the value of the key created in the first step in my assertion for the 4th step?
Brian
I am fairly new to soapUIPro and have a question regarding assertions. I have a test that:
1. creates a record associated with a customer account - a key is assigned to that record
2. Searches for the record just created - value is transferred from the previous step into the request
3. Deletes the record -value is transferred from the first step
4. Search for the account and verify the record has been deleted.
I need to have a step that validates that the record has been deleted and that key is no longer present. I need to use the value from the response in the first step in my assertion for the fourth step. The search in the 4th step returns all records associated with the account.
How can I use the value of the key created in the first step in my assertion for the 4th step?
Brian