output logs
Can I pass the value of the variable name to the output stream for logging. Please see attached.
Comments
-
Yes, you can reference variables by name to send their value. You can reference variables in the target name and directory fields as you show in your screenshot.
0 -
I tried doing it created a folder ${auditDirectory} and ${auditName} instead. Please see attached.
0 -
I tried doing it created a folder ${auditDirectory} and ${auditName} instead.
You will see that behavior if those variables don't exist, or if they are data bank column names that were never written to.
What are those variables? How are they defined? Are they environment variables, test suite variables, data source column names, data bank column names, something else?
0 -
I should clarify that functionality was implemented in SOAtest 9.1 which was released in 2011.
0 -
thanks, Benken, I notice when I use the filestream the xml rquest is in one line. while the response is beautify to multiple lines. Can the request logs be logged in beautify mode.
0 -
The "File Stream Writer" (Traffic Stream -> File) literally streams to disk the bytes that are sent and received over the socket, byte-for-byte. Other tools, like the traffic viewer, display a "beautified" version of the traffic message by default, which can be disabled in the Parasoft preferences under Misc.
If you want to "beautify" the response then you can chain a Write File tool to your test's "Response" output instead. The Write File tool has a "Beautify XML output" box that you can select.
1 -
Thanks, Ben got this working
0