# Testing
source: https://developer.mastercard.com/track-search/documentation/testing/index.md

Use the test cases provided in this section to verify your end-to-end integration with the Search API in the sandbox environment. The data returned for the test cases is mocked and may change between requests. The sandbox environment is designed for a quicker data retrieval.
Note: You should obtain sandbox keys before verifying the test cases.

## Test Case 1 {#test-case-1}

All Search users can initiate a bulk search using the **/track/search/bulk-searches** endpoint.

### Sample Request {#sample-request}

```json
{
  "lookupType": "SUPPLIERS",
  "searches": [
    {
      "searchRequestId": "abcde12345zyxwvu",
      "businessName": "Starbucks, Inc.",
      "businessAddress": {
        "addressLine1": "10 Main St, Apt 3",
        "country": "USA",
        "countrySubDivision": "NY",
        "postCode": "10577",
        "townName": "Los Angeles"
      }
    }
  ]
}
```

### Expected Response {#expected-response}

You should receive a bulkSearchId in the UUID format similar to *4b4961a2-2fd2-4308-813c-8b1f08503d9f*.

```json
{
  "bulkSearchId": "f66ae13b-6a11-41ab-bc9a-47948767d6fb"
}
```

## Test Case 2 {#test-case-2}

All Search users can check the status of the initiated bulk search request using the **/track/search/bulk-searches/{bulkSearchId}** endpoint.

### Expected Response {#expected-response-1}

You should receive the status as `PENDING` or `COMPLETED`.

## Test Case 3 {#test-case-3}

All Search users should be able to retrieve the results of the initiated request using the **GET/bulk-requests/{bulkSearchId}/results** endpoint.

### Expected Response {#expected-response-2}

You should receive the matched trading partners in the [response payload](https://developer.mastercard.com/track-search/documentation/parameters/index.md#get-bulk-searches-bulkSearchId-results).
