Skip to main content

Running JMeter scripts as a Functional test

UseAppvance thisIQ article whenis a platform that supports to run JMeter scriptscripts. isHere beingare executedthe insteps AIQthat forwe functionalneed validationto ratherfollow thanto load generation.

Validation workflow

  1. Import or selectrun the JMeter scriptscripts from Appvance IQ.
    1. Navigate to the Appvance IQ Home screen and confirmclick assertionsBuild.
    Click File >New to create a new scenario. Select Functional Test from the Scenario Test Type dropdown. Click Test Management tab and check: "Repeat scenario's test cases 1 time". Click Test Cases tab and click the link for Add test case execution. Enter Test case name and Script name. Select "JMeter" from Script Type dropdown.

    8. Click Browse and browse the JMeter file. Save the test case.

    9. Click Locations tab.

    10. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode

    11. Navigate to Resources and make sure JMeter bundle with version 2.13 added by default.

    12. Also make sure the resources are present.

    Runadded with aName, controlled user countType and datathe setcorrect appropriatepath forof functionalthe validation.Reviewjmx output,file. assertions,

    13. Navigate to Options and resultsmake beforesure promotingthat Enable logging, Safe logs on Failure are selected.

    14. Click check box Custom Database Credentials (Database Logging) and make the scriptfollowing settings:

    Database Type: MySQL
    Driver: com.mysql.jdbc.Driver
    URL: jdbc:mysql://localhost:3306/utp?useSSL=false
    Default Schema: utp
    Username: utp
    Password: utp

    15. Click File >Save to performancesave testing.

    new scenario.

    16. Click Play Scenario from the top navigation bar.

    17. Controller window will open in a new tab which displays the tests running and will display the pass/fail status of the tests upon the test completion.

    18. Left part shows the steps and the duration in milliseconds and right side shows the test run status under Output tab.

    19. On The transactions tab we can find the request/response and an error tab to drill down further.

    20. Click Click here link to get to the list of Reports that Appvance IQ supports.



    Last updated: SeptemberJuly 25,28, 20262023

    If you have any feedback on this topic, please contact us at documentation@appvance.ai