Versions Compared

Key

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

...

3  You need to create your testing environment. The environment is a text file without extension written in JSON. It has the following format:


{ 

   "id": "b0294beb-2229-65b4-7eba-b6d57d0a59c4", 

   "name": "theName", 

   "values": [ 

                   { 

                                   "key": "Host", 

                                   "value": "http://writeyourhosthere", 

"type": "text", 

                                   "name": "Host", 

                                   "enabled": true 

                   }, 

                   { 

                                   "key": "tmForumAPI1", 

                                   "value": "{{Host}}/tmForumAPI1", 

                                   "type": "text", 

                                   "name": "testedAPI", 

                                   "enabled": true 

                   } 

   ], 

   "timestamp": 1432767028962, 

   "synced": false, 

   "syncedFilename": "" 

} 

You can use this as a template. Create a file with this format, replace the values for the name, the host and your API addresses and put it in the same folder as the postman collections.

...

The results of the CTK are in the testedapiCTKResult.html and should look like (example with Customer Management API):