| || |
writing to a file in OpenSTA
I'm using OpenSTA to load the application my company is developing. In addition to OpenSTA we have a tool that was developed in-house. It's purpose is some additional analysis. In order to use this tool I need to save the body of response HTML pages that I get during load test to some external file.
I use LOAD RESPONSE_INFO BODY to store the body in a variable. And it works fine. But then I need to write this variable to a text file. And here my problem comes..
All documentation that I found is talking either about reading from external file or about writing to log/trace/report file.
So I have 2 questions:
1. If I write to log/trace/report file, where I can find these files? I mean - physically in which folder on the disk and what are their names?
2. Is there any way to write to some other file, let's say "my_log"? Something like "write" function in C?
Appreciate your help.
Re: writing to a file in OpenSTA
1. The results files for your test are in your OpenSTA repository, where this can be user assigned but it is usually a folder called Repository under the OpenSTA installation directory. Under this folder in the "Tests\<YourTestName>\<DateOfTest> " you'll find your results files.
2. Unfortunately the file IO features of OpenSTAs SCL are broken [img]images/icons/frown.gif[/img]