how to transmit assertion result to if controller
I'm creating something like a digital book. All themes are stored as a list.
To create the theme I need to fill in these fields of a form: name, author, content
and submit them to the server.
To check the uniqueness of the name of the theme I've added a response assertion to the http request, which posts the data. If there is a string "this name alredy exists" in the response text I need to go back to the form to change the name.
The problem is:
how to pass the assertion result to the If controller?
In general, what result does the assertion returns? Is it 'OK' or 'True' or what?
Thanks for help
Re: how to transmit assertion result to if control
It seems I've solved the problem: [img]/images/graemlins/smile.gif[/img]
with a regexp find 'this name alredy exists' in the response, place it in a variable, use this variable in the If controller...
Anyway, the question about assertion's scope is still important for me. How does it work? Is it just something like a listener - to view results, or is it possible to use it's result in the following requests?