Acquire Release Example

Description

Simple test for acquire release. Extend if needed.

Environment

None

Test Case Description

Test Step

Expected Result

1

Start PCM and import AcquireExample in workspace

PCM IDE up and running, AcquireExample project available in workspace

2

In the AcquireExample project, right-click on "Acquire Example SimuLizar.launch" and click "Run As"->"Run Configurations". In the opened run configuration dialog in the left tree select "Acquire Example SimuLizar" below "SimuLizar".

The SimuLizar launch config for the Acquire Example should be displayed in the right part of the window. Unless executed before, the launch config will display an error on the Simulation tab.

3

In the tab simulation, select a EDP2 repository to store the experiment data in ("Browse" -> select existing one or "Add" -> "In-Memory data source")

The launch dialog does not display a validation error anymore and the "Run" button is available

4

Click on Run to launch the simulation.

A simulation run is launched. The simulation should complete after a few minutes (or less).

5

Check the simulation results.
Open the "EDP2" perspective. In the experiments view, find the on result "Usage Scenario defaultUsageScenario" and double click on it. In the opening window, select "XY Plot"

The response time of the first four requests should be 10, 20, 30, and 40. Then, the response time should be constant at 50.

6

Check the utilisation of CPU: Double-click on results "CPU [0] in aMaschine (State of Active Resource Tuple)". In the opened window, select on "Pie Chart".

The utilization of CPU should be 100% with 1 job.

7

Check the utilization of the passive resource: Double-click on results "Passive Resource ... (State of Passive ResourceTuple)". In the opened window, select on "Pie Chart".

The utilization should be 100% with the state "0", meaning no resource is available.

8

Check the waiting times at the passive resource: Double click on result "Passive Resource ... lock ... (Waiting Time Tuple)". In the opening window, select "XY Plot".

The wait time of the first four requests should be 0, 10, 20, and 30. Then, the wait time should be constant at 40.

Activity

Show:
Floriment Klinaku
January 29, 2021, 8:32 AM

Using the drop.


Step 7 failed, there is no results for the Passive Resource of type State of Passive ResourceTuple.

Martina Rapp
January 14, 2021, 4:47 PM

result testing day 11-11-2020: test failed

Maximilian Walter
November 11, 2020, 3:38 PM

After running the test, in the experiments view there is no result “UsageScenario”

Assignee

Floriment Klinaku

Reporter

Stephan Seifermann