Current time: 02-25-2020, 10:58 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
export to har file
09-10-2010, 11:53 AM
Post: #1
export to har file
Is there anyway to export to har file from the command line

I tried the following /sbin/php export.php?test=100907_Y test2.har but it didn't create a valid har file Sad

Any ideas?
Find all posts by this user
Quote this message in a reply
09-10-2010, 08:35 PM
Post: #2
RE: export to har file
try redirecting the output instead? /sbin/php export.php?test=100907_Y > test2.har

Even then I'm not sure if any of the headers will cause a problem and end up in the output. Any particular reason you don't want to go through the web interface (with curl or something like that) to generate the file instead?
Visit this user's website Find all posts by this user
Quote this message in a reply
09-11-2010, 12:49 PM
Post: #3
RE: export to har file
(09-10-2010 08:35 PM)pmeenan Wrote:  try redirecting the output instead? /sbin/php export.php?test=100907_Y > test2.har

Even then I'm not sure if any of the headers will cause a problem and end up in the output. Any particular reason you don't want to go through the web interface (with curl or something like that) to generate the file instead?

Your right headers cause a problem Sad . I can fix it with a script Big Grin

The reason I wanted to do this was to archive the tests and grep the load time in the har file and get an average per hour to plot to a line graph(rrd file). Based on the results I want to have an email sent to myself if the values exceed a threshold (5 sec).

Is there anyway to do this with the files that are created in the results folder. I don't know were to start lookingSad.

If I have several test boxes>
-Montreal Canada
-Malaga Spain
-London UK

How can I tell (from the command line or back end) where each test came from?(in the results folder)
Find all posts by this user
Quote this message in a reply
09-11-2010, 10:55 PM
Post: #4
RE: export to har file
Look at the _IEWPG.txt files. They are tab-delimited files with the high-level results for each test. The location information is stored in testinfo.ini

FWIW, there will be a project released as open source shortly that bolts a monitoring system on top of the API's (built by someone with a similar problem to solve as you have).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)