mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: implement ios ui swipe
This commit is contained in:
@@ -48,6 +48,7 @@ func NewRunner(t *testing.T) *HRPRunner {
|
||||
Transport: &http2.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
},
|
||||
Jar: jar, // insert response cookies into request
|
||||
Timeout: 120 * time.Second,
|
||||
},
|
||||
// use default handshake timeout (no timeout limit) here, enable timeout at step level
|
||||
@@ -69,6 +70,7 @@ type HRPRunner struct {
|
||||
httpClient *http.Client
|
||||
http2Client *http.Client
|
||||
wsDialer *websocket.Dialer
|
||||
wdaClients map[string]*wdaClient // wda client used for iOS UI automation, key is udid
|
||||
}
|
||||
|
||||
// SetClientTransport configures transport of http client for high concurrency load testing
|
||||
|
||||
Reference in New Issue
Block a user