I tried the following in order to record mobile app steps using jmeter:
Start Jmeter on the my laptop and add the necessary recording templates.
Copied and installed the Jmeter cert on the mobile phone.
Connected the mobile phone to the same wifi that my laptop (with Jmeter) is on.
In the proxy hostname, I added the ip address of my laptop (with Jmeter). I also add the same port that was configured in Jmeter for my laptop.
Clicked start on the HTTP(S) Recording controller to start recording.
NB. I ensured my firewall was off during the recording.
I tried these steps several times, but when I use my mobile app on my phone, nothing gets recorded. I then tried navigating to a site using the browser but it does not record these actions either. Instead, it records other steps that I don't recognise. Please see links below for what I am seeing in Jmeter.
Does anyone have a solution to this?
Recorded Steps
Errors Displayed
You're getting this error:
because JMeter is not capable of decrypting the intercepted traffic as you didn't install JMeter's MITM certificate onto your mobile device.
The certificate is called ApacheJMeterTemporaryRootCA.crt and it's being generated in "bin" folder of your JMeter installation when you start the HTTP(S) Test Script Recorder.
I cannot provide exact steps for the certificate installation without knowing the operating system (including version) of your mobile device, however you might find the following material helpful:
Five Tips for Using Self Signed SSL Certificates with iOS
Android: Add & remove certificates
Recording Using Android Devices
Using self-signed SSL in Android (Nougat+)
hey you have to "trust the jmeter certificate in your mobile device". in ios its "trusted certificates-->certificate trust setting--> enable button for jmeter certificate which you took from jmeter machine to the mobile (ios in my case)"
Related
I want to do the load and performance testing for mobile app like wtapp,facebook separate apk. so is there any method to do the load testing using jmeter.
As I have seen jmeter proxy setup in mobile application but there are recording mobile web application. I want test the separate application not browser dependent.
I want to record the separate apk for example.. i will open wtapp and login into wtapp those API calls should be recorded in jmeter.
For which operating system?
iOS - it's sufficient to install JMeter's certificate and enable full trust for it
Android - you will need access to application source code in order to be able to amend its network security configuration like it's described in Configure Android Devices for Proxy Recording article. If you don't have access you will need to use rooted device/emulator and install JMeter's certificate into your root CA storage
How can app files be accessed for uwp apps on a mobile device. This tutorial, https://blogs.windows.com/buildingapps/2016/06/08/using-the-app-file-explorer-to-see-your-app-data/, explains using App File explorer. I follow the steps, enabling device portal and device discovery. With the IP address of the phone I can't connect to the phone from Google Chrome because of security. Microsoft edge allows me to connect with the pin after a warning about the security certificate but the phone does not show a new pairing , and the device portal only has a few of the options from the tutorial, not File Explorer (http://imgur.com/a/likYI).
Connecting by usb does not show app folders (http://imgur.com/a/YBejt)
Thank you.
Please check your Mobile OS version and upgrade to the latest RTM
And you can also use Device Portal core REST API
For example:
Get known folders - Obtain a list of accessible top-level folders.
Method | Request URI
-------|------------
GET | /api/filesystem/apps/knownfolders
I upgraded and can now access File explorer with Edge. But not by usb, is that normal?
Please follow this guidance to Set up device portal on Windows Phone
I have Apple ID. When I am trying to Send IOS app store build in MAC system, I am getting Build Error.
I have created certificates for this, might be this step leads to error{ created certificate with device UDID}.
Please help me on how to create certificates and send IOS store build.
Thanks in advance.
you can directly this all features directly by using netbean. There is wizard "Generate" for ios from which you can create development certificate as well as provision profile. You can also add devices by using the wizard in ios tab.
I used to have X3D-Edit 3.3 downloaded and working on my Netbeans IDE but I updated my laptop to Windows 10 and some of my files got deleted such as X3D-Edit and when I go onto https://savage.nps.edu/X3D-Edit/X3D-Edit.html, I get
This web page is not available
ERR_CONNECTION_TIMED_OUT
Google Chrome could not load the web page because savage.nps.edu took too long to respond. The website may be down or you may be experiencing issues with your Internet connection.
Check your Internet connection
Check any cables and reboot any routers, modems or other network devices you may be using.
Allow Chrome to access the network in your firewall or antivirus settings.
If it is already listed as a programme that is allowed to access the network, try removing it from the list and adding it again.
If you use a proxy server...
Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chrome menu > Settings > + Show advanced settings > Change proxy settings... > LAN Settings and deselect "Use a proxy server for your LAN".
I've tried that same site on two separate networks and I've tried it with and without a firewall. And I'm still getting the same problem, so I was wondering where I'd get X3D-Edit from?
Happy to announce that upgraded X3D-Edit 4.0 now available
https://savage.nps.edu/X3D-Edit/X3D-Edit.html
Update: installers and help video now available on SourceForge
https://sourceforge.net/projects/x3d/files
Downloadable zip includes runnable versions for Windows, Mac and Linux. Build environment is Apache NetBeans 12.6 and openjdk 19. Beta testing in progress, adding features and X3D4 nodes with special focus on validation, HTML5 integration and Web Audio API.
All test and usage reports welcome. Have fun with X3D4!
In silverlight5 beta, it supports trust application which allows loading local files. I tried and it works fantastic in both OOB and in browser mode. One question is that, when put my cap on the server, it works fine in OOB mode but doesn't work in browser. I think debugging locally and deployment is different. Is there a way to request the trust in browser as I tried locally?
Thanks,
HowardÂ
There are a number of steps needed:-
The XAP needs to be signed using a code-signing certificate
Then on the client machine
A tweak to the registry on the client machine that needs to run a trusted app inbrowser
The code signing certificate then needs to be installed on the client machine.
Those last two in a real world deployment would be configured using a Group Policy.
See the Beta document topic How to: Enable Trusted Applications to Run Inside the Browser.