Forum Discussion
Radford
Super Contributor
Sorry, never had to do this myself I don't think I can really help further. Try looking at the JavaDocs for the Classes:
They may be of some help to you, it's probably where I would start investigating.
Please post back here if you find a solution.
ripplegupta
8 years agoContributor
Thanks Radford. I was able to solve my last query.
Actually i was looking for exact request posted to server for test steps so i looked into junit report collector class which generates report files in xml format having everything. so i used that method which writes to file (i had to create print writer of type string writer to generate string instead of file though)
pw = new PrintWriter( stringWriter ) testStepResult.writeTo( pw )
Hope this helps.