- 2
- 3 943
The Engineer
France
เข้าร่วมเมื่อ 6 ม.ค. 2022
JMeter Recoding a Mobile Application on iOS
Most performance tests start by recording a script according to a scenario, I thought it would be interesting to share with you how to capture the traffic between a mobile application on iOS and its back-end.
This tutorial covers the recorder and device’s configuration.
00:00 - Introduction and requirements
00:43 - Generate a certificate
01:07 - Install the certificate on iOS
02:10 - Configure the proxy on iOS
03:00 - Recording the Airbnb app
This tutorial covers the recorder and device’s configuration.
00:00 - Introduction and requirements
00:43 - Generate a certificate
01:07 - Install the certificate on iOS
02:10 - Configure the proxy on iOS
03:00 - Recording the Airbnb app
มุมมอง: 2 476
วีดีโอ
JMeter Remote on AWS EC2
มุมมอง 1.5Kปีที่แล้ว
Running JMeter in a single machine limits our capacity to load applications. We can either vertically, or horizontally scale the infrastructure to match our testing needs. In this tutorial we will cover the installation of JMeter in a distributed architecture on AWS EC2 instances. Blog post : the-engineer.io/blog/jmeter-remote-testing-on-aws-ec2 00:00 - Create 3 EC2 instances 01:34 - Install JD...
When choose template and merge, popup display with an error: Can't merge BeanShell Sampler (BeanShellSampler) here, how can i fix it ?
Thanks! Helped me a lot. Especially what ports to allow in security group.
Precise and clear
The coolest stuff. Thank you so much for this video.. :) :)
I m also facing same issue while recording script..Can someone provide the updated link
When i try to open the app, it will always show as network error
Hello, you see a network error because your proxy isn't working thus the mobile phone can't access internet. Please retrace the steps mentioned in the tutorial.
I have the same issue. Everything you did I did as well, the set up is correct but in the end it is not working. Or at least some steps are recorded but I constantly get the proxy server error every time. @@the-engineer-io
Hi, my phone disconnect to internet (WiFi still intact) after configuring proxy (Jmeter host), how should I check the correct proxy ?
Hi, can you please double check the IP address of the computer on which JMeter is installed, also be sure you installed the certificate.
whats the software you use to ssh into the ec2 instances with split screen?
tmux, can inly be used with linux. but works with wsl for windows
Hello, I did the same as the instructions, but when connecting Rethrown as IOE at org.apache.jmeter.util.HttpSSLProtocolSocketFactory.getSSLSocketFactor . I installed java 17, using jmetter 5.6.2. Do you know how to fix it?
Nice explanation ...Thank you so much for your time and efforts.
The video is really good however there are some follow up question from me as I am new to JMeter: How will I get the cmd for Jmeter where you were looking for information like ipconfig, secondly how can I see the results of the recording. How this performance test show me the results? If we are testing another app will the recording configuration changes?
Hello @sakshidwivedi1149, thank you for the kind words. cmd isn't JMeter tool, if you are running Windows type "cmd" in the search bar then run "ipconfig" to get your IP address. If you are running a GNU/Linux distro. search for "Terminal" then run the "ifconfig" to get the same result. The results of the recording can be found under the "Recording Controller" please check 04:45. This tutorial only covers the recording step (on a mobile device), to run a full test you must first variablize your script, add data accordingly, setup you testing strategy ect. The process for recording stays the same for all apps on iOS.
Too Good, Please continue similar videos. if possible video content on Jmeter Amazon EC2 with load testing and issues troubleshooting
Hello @neestham g, will sure do ! May I suggest this video as starter th-cam.com/video/SGffxdaCp7c/w-d-xo.html
Very nice. I tried your steps and was just confused about the steps where you check whether the injector is connected with the local machine or not. It's giving an error not found and not known. Can you please describe it
Hello @stayfitwithneha, At minute 07:26 the network connection between the controller and injectors isn't supposed to work because we lack the proper ports authorizations (security groups inbounds rules). I just wanted to showcase the importance of the firewall configuration (08:05). If: 1- All of your EC2 instances are in the same subnet, 2- JDK and JMeter are installed and the jmeter.properties files configured 3- You allowed the right ports in the security groups inbound rules (the same ports mentioned in jmeter.properties files) And still having issues please let me know, I will gladly discuss it with you on Discord. You can also check out this blog post: the-engineer.io/blog/jmeter-remote-testing-on-aws-ec2/ Best regards, TE
@@the-engineer-io thank you. I will try this and let you know
@@the-engineer-io Can you please let me know that where you are saving your jmx and other files like csv and all which needs to be used in script. and running on ec instance. i think we have to copy paste them on ec instances as well. am i correct? if yes then is it needed to copy on all master and slave systems or just on master? pl suggest?
time stamp 6:33 scp command, can you please elaborate . how can i connect with you on discord.
Hello @user-fr8cb2ey3i SCP is a Linux tool used to send files over SSH to a remote host. If you run Windows you can use FileZilla or WinSCP instead. In the video I used the following command : scp -i ssh_keys/controller_ssh_key.pem test_script.jmx ec2-user@ec2-18-212-2-116.compute-1.amazonaws.com/home/ec2-user/apache-jmeter-5.6.2/bin ssh_keys/controller_ssh_key.pem : is my ssh key generated here 00:25 test_script.jmx : the script example I wanted to send to my controller instance ec2-user : the username to access the controller instance ec2-18-212-2-116.compute-1.amazonaws.com : the public address of the controller instance /home/ec2-user/apache-jmeter-5.6.2/bin : the exact location where I wanted to send my file For the proposes of the demo, the .jmx script is located under the bin folder of the controller’s JMeter. JMeter remote will automatically send the test script to all its injectors. In this particular test, we didn’t have data files (.csv for example). In that case, JMeter won’t copy the data files referenced in you test script, you will have to copy those files to each injector manually. For more information, you can write to me in this channel : discord.gg/wNTf7nqq
Precise and straightforward !
Very clear and helpful, especially which ports to authorize, thanks a lot !