问题
I am using JMeter 3.3.
I am not able to record traffic from our mobile banking app but I am able to record traffic from simple app which are less secure like weather channel. Can anyone help me here to make my mobile banking app work?
回答1:
Most probably you need to install JMeter's self-signed certificate onto your mobile device:
- Locate ApacheJMeterTemporaryRootCA.crt file (it's being generated in "bin" folder of your JMeter installation when you start HTTP(S) Test Script Recorder)
- Transfer it to device somehow (i.e. send it via email and open the attachment on the device side)
- Import the certificate to the device, follow your mobile operating system instructions on how to do this
- Assuming everything goes well JMeter should be able to intercept, decrypt and record mobile traffic (You might need a 3rd-party application to proxy the secure traffic, i.e. ProxyDroid for Android OS)
You can also consider using a cloud proxy which makes the process of installing the certificate easier, check out A Step by Step Guide to Performance Testing on Native Mobile Apps article for more details.
来源:https://stackoverflow.com/questions/47699548/i-am-not-able-to-record-mobile-native-banking-apps-using-jmeter