Saving Security Test Request and responses
Hi @Asubbiah ,
Thanks for creating the topic.
Community, can anyone please suggest Asubbiah how to accomplish this task?
Thanks in advance for any recommendations.
SmartBear Assistant Community Manager
I saw the original post last week so i thought id investigate this cos i expected the script/event handler combo i found on the old soapui help site (which i use to record all my test evidence for my api testing) to record the sec testing too.
Wow....i think i mightve forgotten a couple of fullstops in the last sentence.
Anyway it didnt record anything when i tried.
However as i typed this out ive just realised a possible reason it didnt work, so i'll have look tomorrow to try and resolve.
What type of Security test are you running?
You try to use tcpmon between soapui and your server to see the same.
I had another look with the event hander/script I use to capture the RAW request/response for every step and can confirm the script doesn't record ANYTHING for the sec tests.
My script records everything (API related) executed at project, testsuite and testcase level. If you just execute teststeps, my script doesnt record anything.
I noticed that if I highlighted the project level and the project contains normal API test and sec tests associated with a specific testsuite - the sec tests were NOT executed.
This 'I think' this appears to indicate that the sec tests have different action/event handlers underneath the ReadyAPI! covers? As far as I can tell - you have to highlight the sec test itself to execute it - there's no other way of doing it, despite the fact the sec test is associated
I executed an example of every sec test and can confirm they write to the HTTP log - but that's it and I didnt have the time to try and work out how to force an error to check if errors are logged.
anyway - thats all Ive got!