keskiviikko 10. huhtikuuta 2013

Tutorial 1 part 35. Testing

Now we are ready to deploy and test our service.
We are still missing the part we fill in the return values but do not worry about it now.
In my VEHICLE_STATUS table I have the following data:
License number

Try with different data to test the service. Test for example with AssetId ABC-123 should lead you down the empty path and Car-45 should pick the actions branch. See the flow and look at the values passed to service
Empty path

Free car moving

See the input parameters and check that both param1 and param2 are copied to the script.

Return values.
Check again and see that Output variable is populated with values.

We are getting an error as our java script does not know the script called TEST-SCRIPT. If you change its name to “a.bat” in database our test script would be executed.

Ei kommentteja:

Lähetä kommentti