Requirements
Project workspace
Tests live inside a project. If you haven’t made one yet, head to the top right corner, click on your avatar and select New Project.
Simulator choice
Tests cannot run without the simulator. A simulator must be created and configured. If you do not have any, you can create one here.
Steps
Test Creation
Let's create one of the basic tests — connecting a virtual car to the charging simulator and charging it for 2 minutes.
Navigate to
TestssectionClick to Add a new Test if you're using the table view (Or type the test name if you're using the foldered view)
Tip: If you want to create the OCTT Test, you can use our templates by simply typing OCTT test case number\name or clicking the cloud button (if you're already on the test creation form) and then selecting the case
If you want to create your own scenario - first of all you need to add the new Requirement (it's a device that will be the player during our test. For example, during these tests you need 1x Charger simulator (OCPP 1.6 protocol).
Tip: Multiple requirements are not widely used, but are really useful for cases, when you need to check for example the Smart Charging (when you want to review the power split across an increasing number of parallel transactions or you want to test the Alerting feature (when more than X devices are faulted simultaneously)
Fill in the Test Name. Enter the clear name, for example, "Electric Vehicle Charging Test".
Describe the test. You're free to add a description of the test, for example, "Verification of the charging process."
Set the Priority for your test (low, medium, high, urgent) on the left of the test name.
Now we can add steps (like for the real test). For example, Power On charger, Plug in the vehicle to the charger, etc. The complete guide about all existing actions can be explored here.
NOTE: Moreover, you can easily create your own steps, but that's another guide for advanced usage.
For the current test we will use the following steps:
Power On Charger — turn on the EVSE. Choose the simulator with protocol in the "Requirements" dropdown.
Plug In Connector — connect the cable to the vehicle. Choose the simulator with protocol in the "Requirements" dropdown and specify the connector ID.
Use RFID Card — use an RFID card for authentication. Choose the simulator with protocol in the "Requirements" dropdown, specify the connector ID and Tag ID (this is authentication; you can find it in your CSMS).
Charge a Vehicle — start charging the vehicle. Choose the simulator with protocol in the "Requirements" dropdown, specify the connector ID, initial vehicle charge, vehicle battery capacity, transaction duration, max power (the minimum is selected between: smart charging logic, provided by your system, the maximum power value on the charger, connector (can be configured using Models page), or vehicle).
Plug Out Connector — disconnect the cable after charging is complete. Choose the simulator with protocol in the "Requirements" dropdown, specify the connector ID and plug out side (use EVSE in this test (more details can be found in the actions guide)).
Power Off Charger — turn off the charging device. Choose the simulator with protocol in the "Requirements" dropdown.
Your test will look like the screenshot below:
Now you can save it using the button in the upper right corner.
Test Run
To execute the test, select it from the list and click run icon (a play).
Hover over the device and click the "Select", select the simulator and push the "Run Test" button.
Test Run Information
Now we can verify that the test is executed.
Navigate to Runs section
Click on the created test Run
Tips:
Before starting, ensure that the selected simulator is properly configured.
You can create multiple scenario options by adding or modifying steps as needed.
After completing the test, review the reports to analyze the results."
Cool! Now you know how to create and run a test.