1

I havebeen recently trying things to capture network traffic in my Selenium WebDriver tests.

I tried: Firebug+NetExport :NetExport is not supported for my FF41.

BrowserMobProxy:Post data is captured but i guess it is encoded.

Har Export Trigger : Again i am getting Post data as encoded.

The post url which i need to capture looks like this: "mysite.com//xyz/index.cfm?&did=someData&id=1234"(https is being used)

I am totally exhausted with the results. Is there a way by which i can capture the post request url along with parameters? Pls suggest on this. Thanks In Advance.

1 Answers1

0

Form data will indeed be encoded, presumably as multipart/form-data, but it certainly can be decoded. It's a bit harder work if you're not inside a web container, but the code exists.

Here are some links that should help you:

Although I haven't investigated how BrowserMob could help you directly, having not needed/used this myself, if you look at the source there clearly is some support.

Community
  • 1
  • 1
Andrew Regan
  • 5,087
  • 6
  • 37
  • 73