Follow

BlazeMeter Proxy Recorder (Mobile and web)

With BlazeMeter’s Proxy Recorder technology, you can easily record and create Jmeter test scenarios for your mobile or web app even when using a secure connection. The proxy recorder works with both web, mobile browsers and native mobile apps.

In addition, you don't need to install any additional software on your phone or computer.

Recording Using Mobile Devices 

Overview video:

Here’s what you need to do:

  1. Login to your BlazeMeter account.
  2. Go to mobile recorder URL:  http://a.blazemeter.com/app/recorder/index.html
  3. Now, create a proxy server by clicking ‘Create Proxy’

    On the left panel, you should be able to see all your proxy settings. 


    Figure 1.

  4. It’s now time to configure your phone. It doesn’t matter what type of device you have as the Mobile Recorder works on all Android and iOS phones and tablets.
  5. Make sure your WIFI connection is turned on. Go to your phone’s ‘Settings’, go to 'WIFI' and click on your local WIFI network. Check 'show advanced options' and go to the HTTP Proxy.  
  6. You’ll now be asked to enter data for the server and the port. Here’s where you need to look at the proxy settings we provided earlier. For the server, enter the text displayed in the current proxy field - but don’t include the number at the end. Enter this number in the ‘port’ field.


    Figure 2. 
  7. Open your mobile browser and enter the following URL: http://bz. You should see various devices, including Android and Apple, on your screen. Select the one that you’re using.


    Figure 3.
  8. Now, go back to your Recorder window/tab, and click that big red button at the bottom of your screen.


    Figure 4

  9.  Next, start recording your Session.

Recording Using Firefox

  1. Login to your BlazeMeter account.
  2. Go to BlazeMeter Recorder URL:  https://a.blazemeter.com/app/recorder/index.html#/desktop
  3. Now, create a proxy server by clicking ‘Create Proxy’ 

On the left panel, all your Proxy settings will be displayed

Figure 5. 

4. Next, enter the 'Preferences' section in this browser. (No matter the OS you are running in your system). 

   
Figure 6. 

5. Then, select the section 'Advanced', go to the 'Network' tab, and click the 'Settings' button.

Figure 7.

6. A new window will open named to choose the proxy configuration, and you'll select option 'Manual Proxy configuration' to enter the proxy details from above, and press the 'OK' button, as marked below

Figure 8.

 7. Then, in your Firefox browserenter the following URL: http://bz. Here, you'll see various OS options, including Windows, Apple on this page (seen below). Select the one that you’re using.

Figure 9.

8. A new window will open up, so you choose and install the certificate.


Figure 10.

9. Last, go back to your Recorder window/tab, and click that big red button at the bottom of your screen.

 

Figure 11.

Recording Using Chrome

  1. Login to your BlazeMeter account.
  2. Go to BlazeMeter Recorder URL:  https://a.blazemeter.com/app/recorder/index.html#/desktop
  3. Now, create a proxy server by clicking ‘Create Proxy’ 
  4. On the left panel, all your Proxy settings will be displayed

    Figure 12. 

  5. Next, access the Chrome Menu, and enter the 'Preferences' section as shown below, 



    Figure 13.

  6. A new tab will open named "Settings", and at top right Search box, enter ‘proxy’
  7. The section ’Network’ will display, and you will click on ‘Change Proxy settings’ as shown below,


    Figure 14.

  8. Next, a separate window will open for ‘Network’ settings and the ‘Proxy’ section (or Proxies, depending in your OS).
  9. Check the option ‘Web Proxy’, and fill out the fields for ‘Web Proxy Server’ and the port, as shown below, 

    Figure 15.

  10. Click OK, and in next window, click ‘Apply’ to implement this change.
  11. Last, go back to your Recorder window/tab, and click that big red button at the bottom of your screen.

     
    Figure 16.

Recording Your Session

Congrats! You may now record your activity!

Go back to your window/tab, and start accessing your web app or browse the URLs you want to test. The Recorder should start showing all the captured requests.

Once you’ve done this, press ‘Pause’. Don’t click the ‘Stop’ button on the left panel....yet! This should only be done when you’re 100% finished.  

 Figure 17. 

Great! You have your recording. Now you need to decide what to do with it. You have three options:

  1. Export it as a JMeter .jmx file. Edit if necessary and run your load test.
  2. Export it as a JSON file. Again, you can edit it before running your test.
  3. Export it as a URL list to instantly create a URL test. Just export it, go to the BlazeMeter app and start running your test.
  4. Export it as a "Smart JMX".

 

Figure 18.

Don’t forget to disable the Proxy after running your test. To do this, go back to your Network settings, uncheck the option to turn it off. Click 'Apply’ to save the changes.

Last, go to your Recorder page, and click the 'TERMINATE PROXY' button at the bottom of the left panel.


Figure 19.

That’s all folks!  If you have any questions, please e-mail us at: support@blazemeter.com

 

Want to see our testing mobile apps and websites? You'll want to view our on-demand recording, Load Test Like a Pro.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.