Forum Discussion

tcarpenter's avatar
tcarpenter
New Contributor
7 months ago

Test Engine and Custom Project Properties

How does one override custom project properties in a ReadyAPI project when running it via Jenkins and Test Engine?

2 Replies

  • groovyguy's avatar
    groovyguy
    Champion Level 1

    If you are using the command line testrunner.bat/testrunner.sh to run your projects, you can see a list of command line parameters and arguments here.

     

    Specifically:

    -P<args>
    
    Specifies a value of a project property for the test run. This value will override the variable’s value during the run.
    
    Usage: -P<variable>=<value>. If the value includes spaces, enclose the entire argument in quotes. To override several variable values, specify the -P argument several times.
    • tcarpenter's avatar
      tcarpenter
      New Contributor

      Thanks for the reply, sorry it has taken a while to get back to it. We are trying to get away from using testrunner and start to use The Test Engine plugin for Jenkins. Where does one enter custom project properties in the Test Engine plugin? Thanks,