---
title: How to Verify Request Data
description: "Bqurious platform provides you the feature running tests to verify the request data. It allows you to verify the request API parameters in between execution & validate that appropriate data is going to the server. ### Prerequisites - BQMITM Certificate…"
url: "https://bqurious.com/docs/how-to-verify-request-data/"
updated: "2021-02-25"
category: How to Guides
---

# How to Verify Request Data

Bqurious platform provides you the feature running tests to verify the request data. It allows you to verify the request API parameters in between execution & validate that appropriate data is going to the server.

### Prerequisites

- BQMITM Certificate should be installed
- For mobile, proxy should be added in WiFi setting

### Adding BQMITM Certificate In System

#### **Steps to add BqMitm Certificate in MacOS X**

1. Navigate to ***mitmcert***folder in Bq Client installer directory. Two certificate files will be displayed in this folder.
2. Right click and open the ***BqMitmCert.crt***file.
3. Keychain Access window will open. You will be able to view ***Bequrious Impersonating proxy***Certificate.

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/3-1.png?w=1200&ssl=1)
4. Now, right click on ***Bequrious Impersonating Proxy*** and click on ***get Info*** option.
5. You will see the following popup. Expand the Trust Manager by clicking on *Trust*section shown in the below picture.
   Select ***Always Trust*** for ***When using this certificate*** option.

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/5.png?w=1200&ssl=1)

   Proxy setup is done. Create test with verify Request and the test is ready to run.

** **

#### **Steps to add BqMitm Certificate in Microsoft Windows**

1. Open Microsoft Management Control (Start > Run > mmc.exe)
2. Click on ***File*** menu

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/2.png?w=1200&ssl=1)
3. Select ***Add/Remove Snap-in***

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/3-2.png?w=1200&ssl=1)
4. Under Available snap-ins, click **Certificates**

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/4.png?w=1200&ssl=1)
5. Click ***Add***.

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/5-1.png?w=1200&ssl=1)
6. Select ***Computer account***

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/6.png?w=1200&ssl=1)
7. Click on ***Next***.

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/7.png?w=1200&ssl=1)
8. Select ***Local computer***

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/8.png?w=1200&ssl=1)
9. Click on ***Finish***.

   ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/9.png?w=1200&ssl=1)
10. Now, back in MMC, in the console tree, double-click on ***Certificates***

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/10.png?w=1200&ssl=1)
11. Right-click on ***Trusted Root Certification Authorities***.

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/11.png?w=1200&ssl=1)
12. Click on ***All Tasks*** under *Trusted Root Certification Authorities.*

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/12.png?w=1200&ssl=1)
13. Under *All tasks*, select ***Import***.

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/13.png?w=1200&ssl=1)
14. The Certificate Import Wizard will open.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/14.png?w=1200&ssl=1)
15. Click on Next button.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/15-1.png?w=1200&ssl=1)
16. Click on Browse.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/16.png?w=1200&ssl=1)
17. Select the file from the ***mitmcert*** folder under the client installed location.

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/17.png?w=1200&ssl=1)
18. Click on Open button.

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/18.png?w=1200&ssl=1)
19. Click on Next button on the Certificate Import Wizard.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/19.png?w=1200&ssl=1)
20. Click on Next button.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/20.png?w=1200&ssl=1)
21. Click on Finish button.
    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/21.png?w=1200&ssl=1)
22. Import successful pop up should be displayed.

    ![](https://i0.wp.com/bqurious.com/wp-content/uploads/2021/02/22.png?w=1200&ssl=1)

### **Creating test for verifying Request Data**

1. Navigate to the Test Case creation screen.
2. Create a test case with keyword verifyRequest.
3. Save the test case.
4. Create a Test Suite and add the test to the Test Suite.
5. Navigate to Execute Automated Test
6. Select the Suite.
7. Select the Test suite.
8. Enter the meta data for Execution Details: Run Name, Executing in Sprint, Build Number, Browser Instances, Distribute Across Machines, Execution Tags, Email Execution Report To
9. Under Additional Settings section, Select checkbox for ***Enable Proxy**,*enter the***Proxy Port** (default : 9994),*Enter the value for***Allow URL**(optional)*
10. Select ***machine and browser*** to execute the test case.
11. Click ***Run Selected*** button.

Here's a video for your reference :

[Verify Request Data](https://www.youtube.com/embed/TJBIgpNYM7w?feature=oembed)

### *Related*
