Your Test Plans can be executed directly from Jenkins.   Here are the details for setting up Jenkins-Redline13 integration.

1.  Download Jenkins Plugin

2. Install Jenkins Plugin from Admin UI

  • Manage Jenkins
  • Manage Plugins
  • Tab : Advanced
  • Upload Plugin

Screen Shot 2015-02-05 at 12.29.32 PM

 

  • Plugin Installed Successfully

 

Screen Shot 2015-02-05 at 12.30.21 PM

3. Jenkins Configuration 

  • Manage Jenkins
  • Configure System
  • Find Redline13 portion of Configuration
  • Click ‘Add Some’

Screen Shot 2015-02-05 at 1.00.11 PM

  • Select Redline13 API Key

Screen Shot 2015-02-05 at 12.31.08 PM

 

  • Enter your API Key
  • Click ‘Test Redline13 User Key’
  • You should see ‘Your API Key is Good’, press ‘Save’

Screen Shot 2015-02-05 at 12.32.50 PM

5. Preparing Load Test Plan on Redline13.com

  • On redline13 build a test plan
  • Execute a successful run of your load test plan
  • Any succesful test will have a button ‘Save For Jenkins’

Screen Shot 2015-02-05 at 1.17.49 PM

  • This will reload the test, confirm it is correct, press ‘Save For Jenkins’ one last time

Screen Shot 2015-02-05 at 1.17.49 PM

  • Now in your test view this new Test Plan will be blue and represents a Jenkins template.

Screen Shot 2015-02-05 at 1.19.58 PM

6. Creating Jenkins Job to run your Load Test Plan

  • Create Job
    • Freestyle Test
  • Add Post-Build Action ‘Redline13’
    • Screen Shot 2015-02-05 at 12.34.39 PM
  • Select your Load Test Plan
    • Screen Shot 2015-02-05 at 12.35.29 PM
  • Save your Job
  • ‘Build Now’ for your Job
  • Watch the console output, you can see if there are errors or if the job executes appropriately
    • Screen Shot 2015-02-05 at 1.31.27 PM
  • Once the job is done, on the left side there will be a ‘Redline13 Report’, Select this to see the results.
  • The results are also available under your account on redline13.com
    • Screen Shot 2015-02-05 at 12.54.05 PM