Forum Discussion
cdunne
17 years agoContributor
Hi Ole,
Ah yes I just come across the feature, this morning while debugging a listener to do the same thing :-( Hopefully that should fix most of the issues.
There may still be a time where I need to pass an empty element in the Request. The idea is to have predefined global Keyword that maps to a function, for example if the listener sees the value $#BLANK#$ in a request it will strip the value from the tags. Is there a way the listener can read a request after the "Remove Empty Content" has occured but before the Request is sent to the Service?
Another quick question too, is there a quick way of checking a response is a soap fault in a script assertion? for example
if (response == soapfault)
{
fail assertion
}
pass assertion
Cheers
Darren
Ah yes I just come across the feature, this morning while debugging a listener to do the same thing :-( Hopefully that should fix most of the issues.
There may still be a time where I need to pass an empty element in the Request. The idea is to have predefined global Keyword that maps to a function, for example if the listener sees the value $#BLANK#$ in a request it will strip the value from the tags. Is there a way the listener can read a request after the "Remove Empty Content" has occured but before the Request is sent to the Service?
Another quick question too, is there a quick way of checking a response is a soap fault in a script assertion? for example
if (response == soapfault)
{
fail assertion
}
pass assertion
Cheers
Darren
Related Content
- 6 years ago
- 10 years ago
Recent Discussions
- 18 hours ago
- 17 days ago