Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All the information related to the execution of the CTK will be contained in the DSTestedAPICTKResult.json file.

...

 The following is a complete example for the Trouble Ticket API:

 

 

Newman test report

Collection: TMForum - TroubleTicket API CTK
Iterations: 1
Description:

Requests:


Description:
Mean time per request: 6123 ms
Total tests that passed: 2
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 40410

 

Description: retrieve a product offering
Mean time per request: 3675 ms
Total tests that passed: 2
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is an error10

 

Description: retrieve a product offering
Mean time per request: 4320 ms
Total tests that passed: 2
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present text/plain10
Status code is an error10

 

Description: create a trouble ticket
Mean time per request: 3863 ms
Total tests that passed: 5
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Status code is 20110
Content-Type is present application/json10
Response contains ID10
Response contains all required fields10
POST Body Response equals Request Body10

 

Description: retrieve /troubleTickets
Mean time per request: 7652 ms
Total tests that passed: 5
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains all required fields10
Response contains created resource10
Element contained equals previous creation10

 

Description: retrieve a troubleTicket
Mean time per request: 1300 ms
Total tests that passed: 6
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains ID10
Response contains all required fields10
ID is correct10
Body Response equals previous creation10

 

Description: create a trouble ticket
Mean time per request: 1315 ms
Total tests that passed: 5
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Status code is 20110
Content-Type is present application/json10
Response contains ID10
Response contains all required fields10
POST Body Response equals Request Body10

 

Description: retrieve /troubleTickets
Mean time per request: 5085 ms
Total tests that passed: 5
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains all required fields10
Response contains created resource10
Element contained equals previous creation10

 

Description: retrieve a troubleTicket
Mean time per request: 4147 ms
Total tests that passed: 6
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains ID10
Response contains all required fields10
ID is correct10
Body Response equals previous creation10

 

Description: retrieve troubleTickets
Mean time per request: 4481 ms
Total tests that passed: 7
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains all required fields10
Response contains created resource 110
Element contained equals previous creation 110
Response contains created resource 210
Element contained equals previous creation 210

 

Description: retrieve tickets with high severity
Mean time per request: 2135 ms
Total tests that passed: 6
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains all required fields10
Response does not contain created resource 210
Response contains created resource 110
Element contained equals previous creation 110

 

Description: retrieve tickets with connectivity problems
Mean time per request: 1560 ms
Total tests that passed: 6
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains all required fields10
Response does not contain created resource 110
Response contains created resource 210
Element contained equals previous creation 210

 

Description: retrieve the product offering that are active
Mean time per request: 887 ms
Total tests that passed: 3
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Element contained equals previous creation10

 

Description: retrieve the product offering that are active
Mean time per request: 620 ms
Total tests that passed: 3
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Element contained equals previous creation10

 

Description: retrieve the product offering that are active
Mean time per request: 598 ms
Total tests that passed: 5
Total tests that failed: 0
Individual tests:
Test namePass countFail count
Content-Type is present application/json10
Status code is 20010
Response contains created resource 110
Element contained equals previous creation10
Response does not contain created resource 210

 

When you have completed these tests successfully, please send your test results (html and json results files) to [email protected], as they will be posted to our TM Forum Self Certification Web Page. 

The following link points to the TM Forum Open API Self Certification Web Page in which conformance results are published: TM Forum Open API Self Certification Web Page

...