Search code examples
jmeterjmxcharles-proxygatling

Charles proxy session export to test


I'm intercepting traffic of my mobile app using charles proxy. I've saved the session as a .chls file. Is there any way to convert this chls into a file which can be readed by jmeter or some other test application? It would be great if I can build a test case using intercepted data.

And is there some way to export a Postman file to jmeter or similar?


Solution

  • You can use JMeter to capture your mobile traffic. Just

    1. Switch your mobile device to use WiFi connection rather than cellular data
    2. Make sure that your workstation running JMeter and mobile device are under the same subnet
    3. Configure you mobile device to user JMeter's proxy (IP address of your machine and
      • either port 8080 if you use standalone HTTP(S) Test Script Recorder
      • or port 8888 if you're using Recording template from File -> Templates menu

    For more information and step-by-step configuration instructions see Load Testing Mobile Apps. But Made Easy. guide