Current time: 11-17-2019, 06:55 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
response bodies not included despite bodies=1 in the api call
11-26-2015, 10:52 PM
Post: #1
Brick response bodies not included despite bodies=1 in the api call
I have written an automated test that triggers runtest.php and downloads the results once they are available. I include "bodies=1" in the call because I would like to have css, html and js included.

The url that is called to trigger the test is
Code:
http://www.webpagetest.org/runtest.php?bodies=1&...<more variables>

In the resulting HAR file the response bodies are not included. Is there anything else besides unsing bodies=1 in the runtest.php call that I need to do to get the response bodies in the HAR file.
Find all posts by this user
Quote this message in a reply
12-29-2015, 04:41 PM
Post: #2
RE: response bodies not included despite bodies=1 in the api call
No, that should be all. Do you have a test with bodies=1 that you could link to? What browser are you using?

I just ran a test in Chrome with and without response bodies, and downloaded the corresponding HAR files. In the test with bodies=1 I'm able to successfully get the responses addressed at this object structure: har.log.entries[1].response.content.text. In the test that did not enable it, this returns undefined.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-06-2016, 08:30 AM
Post: #3
RE: response bodies not included despite bodies=1 in the api call
I'm seeing a similar issue.

In chrome, if I select "Save response bodies" in the advanced tab, I am not seeing response bodies for secure requests. Is there something you need to do for specifically for secure requests?
Find all posts by this user
Quote this message in a reply
02-08-2016, 09:56 AM
Post: #4
RE: response bodies not included despite bodies=1 in the api call
Bodies aren't currently available in Chrome for HTTPS requests which is my guess at what you're seeing. Should be working in the next couple of weeks.

Github Issue for it: https://github.com/WPO-Foundation/webpag...issues/272
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)