OpenTTCN/Training/TTCN-3 Basics/Exercises/1.6

From OpenTTCN

Jump to: navigation, search

Exercise 1.6: Stopping TTCN-3 tool

After OpenTTCN Tester have been used for running test cases, OpenTTCN server needs to be stopped.

Goal: In this exercise we are learning how to stop OpenTTCN server.

Step 1: Start OpenTTCN server

In the first exercise you started OpenTTCN server and the server should be already running. If you don't have OpenTTCN server running, you need to start it now.

  • Hint: ot start.

Step 2: Check available ot command options

Type "ot" (and press return) in the command prompt and the ot ("openttcn") command displays you all available command options.

Step 3: Stop OpenTTCN server

Using information that you acquired during Step 2, stop OpenTTCN server.

Stopping OpenTTCN server explicitly makes sure that OpenTTCN has succesfully saved all persistent data so that it will be available next time without configuring or loading it again. Data to be saved: created testing sessions, values of module parameters, and TTCN-3 modules.

Step 4: Check if OpenTTCN server is still running

Using information that you acquired during Step 2, check if OpenTTCN server is still running after you stopped OpenTTCN server during Step 3. Now it should be stopped.

Summary

Congratulations! You have just completed the last exercise from the set of six OpenTTCN exercises. During this exercise you learned how to stop OpenTTCN server. Now you are ready to proceed to learn TTCN-3 core language using OpenTTCN Tester for TTCN-3 as your learning aid.

<< Previous   Exercise Index >>

Views
Personal tools