Follow

Mobile and API Testing via DiveProxy

To test a mobile app or an API is very easy with DiveCloud and DiveProxy.

DiveProxy can be used to record all HTTP calls, including API requests and native apps.

In order to use Dive Proxy you first need to connect to the proxy. 

NOTE! DiveProxy requires a password and it is only available to paid tiers users.

In the Session page there is a new button at the top that leads to the DiveProxy page.

 

Fig. 1 

On that page there are:

  1. Instructions on how to connect to DiveProxy
  2. Control buttons to start and stop recording

Fig 2

NOTE! DiveProxy needs to be connected and used on the device where the application resides. 

So, if you want to record an application on an iPhone, you need to open DiveCloud on the iPhone browser, connect to the proxy from your iPhone, and record (i.e. press the RECORD DIVEPROXY SESSION button and later on STOP RECORDING) from the same device.

Connecting to DiveProxy varies slightly from device to device.  What they all have in common is the host IP Address and the port number. In the case of DiveProxy, you also need a password. For how to connect to the proxy from a specific device, please search on Internet for instructions on how to connect to a proxy for that device, then use the IP address and port number as in the image above, and the password you have received. 

NOTE: you also need to be connected to a network via Wi-Fi.

EXAMPLE - Record requests from an iPad application

Here below is an example on how to connect to DiveProxy on an iPad. Select your wi-fi, go to the HTTP PROXY table and enter the IP Address and Port Number as shown below.

NOTE! DiveProxy requires a password and it is only available to paid tiers users.

Turn the authentication on, and add the name and password that were assigned to you.

 

Proxy.PNG

Fig 3

Once the connection is established you can do the following:

  1. Go to the Session tab in DiveCloud or directly to the Diveproxy page (see Fig 1 and 2)
  2. Press "Record DiveProxy Session" button (shown in Fig 2) to start recording.
  3. Go to your application and execute the steps you would like to record. Every request is now recorded by DiveProxy.
  4. You can then end your session by clicking the Stop Recording button(also shown in Fig 2) from DiveCloud.
  5. Your saved session will appear in your Session table with a name like DiveProxy<Timestamp>, as shown in Fig 4.

Fig 4

The name can be edited, as shown in Fig 5. Once the session is created, it can be used as any other session in the Session manager, combined with desktop session, edited, randomized, etc...

Fig 5

 

 

0 Comments

Please sign in to leave a comment.
Powered by Zendesk