Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9269783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:12:34+00:00 2026-06-18T15:12:34+00:00

We already have a continuous integration process going where we build, run unit tests,

  • 0

We already have a continuous integration process going where we build, run unit tests, do static code analysis and generate documentation. However, we would like expand this to include automatic performance testing. In this case, we are working on a .NET web application.

We have done some performance testing with JMeter (outside the CI process), but I don’t know if this is the best tool to include in a CI process? Is Selenium an option? WAPT Pro?

On which levels should we test the performance? Should we have a set of “performance unit tests”? Should we run JMeter (or something similar) on a production-like environment and fail if any requests takes > 1 second? Wouldn’t something like this have too high variance?

So, do you guys include automatic performance testing as part of your CI? What do you test, and which tools do you use? What has your experience been like?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:12:36+00:00Added an answer on June 18, 2026 at 3:12 pm

    First off, JMeter is a good choice for inclusion in CI because it can be run from the command line and you can pass in variables when you do this. I would recommend it for this task.

    In general though, integrating Perf. testing into CI is difficult. You’ve already listed many of the reasons why this is so you’re already half way there because you understand the limitations. And that’s the rub: it IS possible to have Perf. tests in CI but only to a limited extent.

    I think that a good approach follows some of these principles:

    You can’t run full load (or soak or capacity) tests in CI, it’s not practical.
    The results are subjective and need human interpretation and it takes time to run the tests. But you can run a simpler, cut down set of tests that measure response times for requests and then you can evaluate these response times either:

    • Against an NFR or expected range – Ie. Should be less than 1 sec.
    • Against the previous results – Ie. Should not deviate more than 10% than the last build.

    You can also run automated load / perf. tests – at full volume – outside of the build process. ‘Semi CI’.
    So maybe you could automate a test to run overnight and then check the results in the morning?

    Iterate.
    Just start doing it and getting results and fine tune the tests and how you interpret them over time. Keep it simple and focus on the areas that appear to be useful. Don’t launch with a fanfare, keep it quiet until you have confidence with the process and then start failing builds and telling people about it – initially, you’re likely to get lots of false negatives.

    Instrument your results
    Do this. A lot. CI is all about failing early so if you take that as you end objective then the best way to achieve it is to run tests early and often but the problem with that is you risk getting buried in data. So an effective method to crunch the data and present the relevant information helps considerably.

    You can’t automate the whole process down to Red Flag Green Flag – but you should try to get as far down that path as possible.

    Finally, there was a very good talk given by the lead Perf. tester at Google that covers this subject. It’s a bit old now but the principles still stand. Plus, in a few weeks I’m going to a meetup where Channel4, a British media company, will be talking about how they approached this – maybe you can ask for some slides.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I already have Java code to display and process data from a database. I
We already have the database with real data inside. Now we want to build
I already have code which lazy loads scripts on request. My issue now is
I have already have this code to force these URLs to HTTPS: RewriteCond %{HTTPS}
I want to automatically deploy a EAR file build in our continuous integration server
I have two php scripts that need to be run as continuous back ground
I'm currently using jenkins/hudson for continuous integration a large mostly C++ project. We have
Background In the spirit of continuous integration, I'm trying to automate our deployment process
I try to implement a build pipeline using TFS. We already have TFS building
I am trying to get unit tests to run successfully for my MVC 4

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.