Is it possible to record http/https requests from an android device with 3G on JMeter proxy? -


is possible record http/https requests android device 3g on jmeter proxy?

we have client-server application. server web application residing on remote pc. client android application runs on android device , interacts server.

when android user in travelling client application keep sending current locations using google map/gps server. used server continuous tracking of clients.

i need perform load testing scenario. performance of server when has track 1000 android client app users long distance(up 20 - 30 kilo meters)

i able record load test scenario using jmeter proxy uisng wifi connection. not 3g connection. wifi can record tracking 100 meters. so, beyond 100 meters or longer distance need use 3g.

jmeter proxy settings in android device works fine wifi connection not 3g data connection.

i have changed proxy settings in apn settings 3g. but, did not work. searched in google , found below links changing proxy settings in apn settings did not work.

http://www.techverse.net/how-to-setup-proxy-server-3g-4g-data-connection-android-phone/

https://sebastian.expert/changing-proxy-settings-for-3g-mobile-data-in-android-without-root/

please help. btw, 3g connections used airtel , idea.

out of interest, why need simulate clients different locations? in load testing world functional checks omitted in favor of performance. here possible options:

i doubt machine running jmeter available on internet, expectation you're sitting behind of nat mobile device cannot resolve set in android apn settings. contact team, maybe in setting vpn connection.

if you're looking way of simulating network bandwidth slower wifi can add following lines user.properties file (the file located in /bin folder of jmeter installation)

  • httpclient.socket.http.cps=1843200 - 3g
  • httpclient.socket.http.cps=19200000 - 4g

see controlling bandwidth in jmeter simulate different networks , apache jmeter properties customization guide more information , options.

if target impersonate users different locations, recording test different locations isn't smart solution. rather go following:

  • inspect recorded requests. i'm pretty sure client's coordinates being passed somehow
  • locate parameters client's latitude , longitude , substitute them __random() function. can set minimum , maximum values there limit range geo region idea , airtel have coverage.

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -