Traffic
What is Traffic?
Traffic is Appvance IQ's HTTP traffic recorder. For load or performance testing of a Mobilemobile application, an Appium Appium-based approach is far too resource-consuming,consuming. A better solution is to simulate application traffic by sending the requests and verifying the responses.
InTo order to sendcapture those packages,requests, AppvanceAIQ uses an HTTP Proxyproxy tothat capturerecords the packagestraffic from a browser or mobile device and transformtransforms those packagesit into a HAR script withcontaining the requests and responses. This static HAR script can then be usedreplayed to run a performance/load test.test, without writing a single line of test code.
How does it work?
The currentworkflow topichas three steps:
The saved HAR script is dividedthen intoused in a scenario as a performance or load test.
Example
Suppose you want to load-test the followinglogin sections:flow of your mobile banking app. You connect your phone to the proxy, record yourself logging in, and AIQ captures all the HTTP requests. The captured traffic becomes a HAR script that you can replay with many virtual users to see how the server behaves under load.
Prerequisites
Sections in this book
Main workflow:
- Traffic
Working-withConnectTraffic- set up the proxy port andexplainingconnectdifferentaoptionsbrowser or device - Traffic
Proxy-settingsRecordon-Localcapturebrowsestraffic andamarkuser flow for capturing Mobile trafficsteps - Traffic
Managing-CertificatesAnalyzewhen-runninggenerateoverreportsSSLfrom the HAR script - Traffic
Proxy-settings on IOS
Generating Certificate
About iphone.pac file
Running a completeComplete Scenario in- AIQend-to-end example with an example
Device setup:
Security and troubleshooting:
Last updated: February 17, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai