Before You Begin
Testing Your MMS Integration
OpenMarket provides an option for testing your integration with the production environment. All responses to the request are simulated by OpenMarket, so neither the mobile operators nor end users are sent actual MMS messages.
In order to test your integration in this way, you need to provision a test MT configuration with your OpenMarket account manager. Your test MT configuration details can match your production details.
Using your test MT configuration, you can simulate:
- HTTP or MM7 error responses — the synchronous responses from OpenMarket. To do this, just malform the requests.
- Successful and failed MMS delivery reports — your system makes an MMS request to one of a set of mobile numbers. Each number generates a different response from OpenMarket. See Test numbers below.
Demo short codes
If you wish to test your service but do not yet have an MMS short code provisioned, you can use one of our demo short codes. This enables you to verify that you can connect to OpenMarket MMS production for sending (MT) and receiving (MO) MMS messages. To obtain a demo short code, contact your OpenMarket account manager.
- MT messages — use the demo short code in the requests where you would to test sending a message to a device.
- MO messages — use the demo short code to test sending a message to your application. When doing this, the subject field you set will need to identify your services. The simplest way to do this is to set the MMS MO's subject field with an identifier (such as an MO configuration). Talk to your account manager when determining what you will use, so that the MO messages are routed to your service.
Test numbers
You can test receiving most of the delivery reports sent by OpenMarket. To do this, submit requests using the following test phone numbers.
HTTP integrations
Delivery report status |
Outcome ID |
Test number |
---|---|---|
Retrieved |
1 |
10000871000 |
Deferred |
4 |
10360871000 |
Forwarded |
5 |
10340871000 |
Expired |
6 |
10310871000 |
Unrecognized |
7 |
10350871000 |
Rejected |
2 |
10000011000 |
Rejected |
9 |
10060870000 |
Rejected |
10 |
10030340000 |
Rejected |
11 |
10020340000 |
Rejected |
12 |
10060340000 |
Rejected |
13 |
10010340000 |
Rejected |
14 |
10080770000 |
Rejected |
16 |
18880001000 |
MM7 integrations
Delivery report status |
Status text |
Test number |
---|---|---|
Retrieved |
Success |
10000871000 |
Deferred |
Deferred |
10360871000 |
Forwarded |
Forwarded |
10340871000 |
Expired |
Expired |
10310871000 |
Unrecognized |
Unrecognized |
10350871000 |
Rejected |
System error |
10000011000 |
Rejected |
Recipient not found on mobile operator |
10060870000 |
Rejected |
Source number is not provisioned for use with this mobile operator |
10030340000 |
Rejected |
Recipient blocked by mobile operator |
10020340000 |
Rejected |
DRM not supported |
10060340000 |
Rejected |
Content blocked or not supported by mobile operator or handset |
10010340000 |
Rejected |
Invalid subject - maximum length exceeded |
10080770000 |
Rejected |
Unable to determine mobile operator |
18880001000 |