# Work Request Status
source: https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/testing/wr-status-tests/index.md

## Test Suite 1.0 RPPS Biller Maintenance Service {#test-suite-10-rpps-biller-maintenance-service}

|                              |                                                                                                                                                                                                                                                                                                                                  |
|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Suite Name**          | Work Request Status                                                                                                                                                                                                                                                                                                              |
| **MTF Inbound API Endpoint** | `https://api.mastercard.com/billpay/mtf/biller-maintenance/biller-requests/{work-request}/status`                                                                                                                                                                                                                                |
| **Pre-Conditions**           | Concentrator has successfully been onboarded to the MTF environment. Concentrator has successfully requested and received approval for an MTF certificate. Concentrator has a Client ID associated with the MTF certificate that was approved in the previous condition assigned and active on their API Key Management profile. |
| **Post-Condition**           | Concentrator has successfully completed all the Test Cases.                                                                                                                                                                                                                                                                      |
| **Dependencies**             | Data to support the scenarios is correctly configured by Mastercard to simulate the Test Cases.                                                                                                                                                                                                                                  |
| **Overall Test Notes**       | The Work Request Status service is in inbound call made by the concentrator to fetch the status of a Work Request in Bill Pay.                                                                                                                                                                                                   |

## Test Cases {#test-cases}

<br />

### Test Case: Get Single Biller Work Request Status - 1 Valid Work Request {#test-case-get-single-biller-work-request-status----1-valid-work-request}

|                                |                                                                                                                                                                                              |
|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**                 | Get Single Biller Work Request Status                                                                                                                                                        |
| **Description**                | Concentrator will submit a valid Work Request to retrieve the Work Request Status for that Biller.                                                                                           |
| **Pre-Requisite**              | Concentrator has added a biller and saved the Work Request ID.                                                                                                                               |
| **Test Steps to create error** | **Step 1:** Submit a valid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result**            | A successful response and status of the Work Request.                                                                                                                                        |
| **Notes**                      | After receiving the response, share the logs from the response with CIS.}                                                                                                                    |

<br />

### Test Case: Request status on malformed Work Request - Malformed Work Request {#test-case-request-status-on-malformed-work-request---malformed-work-request}

|                                |                                                                                                                                                                                                 |
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**                 | Request status on malformed Work Request                                                                                                                                                        |
| **Description**                | Concentrator will submit a Work Request that does not comply with the way a Work Request is defined (eg: 100a000).                                                                              |
| **Pre-Requisite**              | N/A.                                                                                                                                                                                            |
| **Test Steps to create error** | **Step 1:** Submit an Invalid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result**            | An error message regarding Work Request format to be handled by the concentrator.                                                                                                               |
| **Notes**                      | After receiving the response, share the logs from the response with CIS.}                                                                                                                       |

<br />

### Test Case: Request status on an invalid Biller Work Request - Invalid Work Request {#test-case-request-status-on-an-invalid-biller-work-request----invalid-work-request}

|                                |                                                                                                                                                                                                 |
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Test Title**                 | Request status on an invalid Biller Work Request - Invalid Work Request                                                                                                                         |
| **Description**                | Concentrator will submit an InValid Work Request (something like all 0s) to retrieve the Invalid Work Request Response.                                                                         |
| **Pre-Requisite**              | N/A.                                                                                                                                                                                            |
| **Test Steps to create error** | **Step 1:** Submit an Invalid workRequestId <br /> [Review Parameters](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/parameters/wr-status-parameters/index.md) |
| **Expected Result**            | An "invalid" response will be returned to be handled by the concentrator.                                                                                                                       |
| **Notes**                      | After receiving the response, share the logs from the response with CIS.                                                                                                                        |

<br />

