In Jenkins, how can I configure the build to fail when error codes fall within the range of 206 to 599 in JMeter performance tests. i want the build to fail when any API from Jmeter test fails (throws error ) any http value from 206 to 599 build should fail
1
There are 1 answers
Related Questions in JENKINS
- Shellscript touch command not working in jenkins pipeline
- Jenkins Docker Agent Configuration Issue: Connection Refused on Local Ubuntu Install
- How to add more input text box in dynamicreferenceparameter in jenkins
- Jenkins pipeline script: Accept merge request from Gitlab
- Jenkins Exec Format Error while cloning repo
- Post checkmarx scan weblink on the Jenkins Build status page
- Exclude a file from merging to the main branch
- Created Jenkins pipeline and added the script in the Pipeline Description.To check out the Project from the svn repository.NotWorking. Any Suggestion
- How to write a Jenkins Pipeline script to fetch needed repo?
- trouble to trigger Jenkins job
- Unable to start jenkins in amazon linux 2: start request repeated too quickly
- is not a valid Cucumber report! String length (20054016) exceeds the maximum length (20000000)
- Run cleanup function in Python when Jenkins job is aborted
- Jenkins pipeline map is getting converted to an array but it's too large I think?
- How do I list which Jenkins credentials used per pipeline in the script console?
Related Questions in BUILD
- Build issue in my STM32-NUCLEO project using the Eclipse IDE
- Module not found when building flutter app for IOS
- Why am I getting this error ? error CS0103: The name 'EnhancedStackTrace' does not exist in the current context
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- Build LLVM, Clang and Libfuzzer
- when I open a ktor project, error Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getFileName()" is null
- Cannot make Django run the frontend from Vite's build ("was blocked because of a disallowed MIME type (“text/html”)")
- Distorted CSS after Build process
- how to build nextjs app unable to build and deploy
- How to build custom mediapipe python model i.e. adding flow_limiter_calculator to face_landmark_front_cpu.binarypb
- Assets not showing after build process in Vite and React
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- The assembled Python application does not launch
- Why rebuild module does not recompile dependency module, but build module does in IntelliJ Idea?
- Gitlab pipeline stuck with nx cloud issue
Related Questions in JMETER
- i have extracted some values using regex in beanshell postprocessor now i have to pick a random value and store it into a varaible?
- Jmeter Java DSL - getting issues when using rpsThreadGroup
- How to configure api http request with load testing
- Jmeter resolution variable with remote
- Need to read different line from different files using CSV read function in JMeter
- How to enter user input in jmeter console (without doing parameterization)
- Optimal way to replace different parts of a structured string(XML) with random string values of different lengths in a JMeter JSR223 Samper (groovy)
- Jmeter query about script recording
- In Jmeter, for ISO8583 Sampler, how can I read the data from CSV file?
- Use JMeter to simulate receiving websocket broadcasts similar to okhttp3
- is their any industry standard for performing 300K load test (Thermostat->HVAC system)?
- How to perform multiple HTTP requests with unique IP addresses from my local
- Jmeter => How to add a jmx file in the transaction controller
- How to send huge JSON with PDF encoded over HTTPS in JMeter?
- How can I create a random(seed) function using a custom seed for Jmeter?
Related Questions in FAILOVER
- Set host-ip list in python-flask server
- Is there any way to check webpage content health check in AWS lambda/drs/ec2?
- How can I minimize data loss & data transfer when I failback with the requirement that I promote the old primary back to its primary status?
- ActiveMQ Classic 5.18.3 running in a fail-over configuration using SQL Server as backend datastore throws Primary Key violation error
- WSFC with SQL transactional replication issue
- Connection pool configuration with Jedis MultiClusterPooledConnectionProvider
- Spring Data Redis 3.2.2 support for Jedis 5.0.2 MultiClusterClientConfig
- Spring Boot + ReactJS + ActiveMQ Classic - STOMP failover support for existing websocket (chat) connections
- Lettuce client not able to detect Redis failure immediately
- DNS Routing Failover Route53 to deploy .NET Windows Service in Active/Passive manner
- Issue with "10010 TXN_PARTITION_STATE_UNMATCH" Error in GridDB During Client Request Execution
- 'CHECKPOINT_SHUTDOWN' Log Entries in PostgreSQL During Master-Slave Replication and Server Failures"
- How to test redis failover with redis sentinel and docker compose?
- In Jenkins, how can I configure the build to fail when error codes fall within the range of 206 to 599 in JMeter performance tests
- Pgpool Server Failover
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I would recommend the following approach:
Add JSR223 Assertion as a child of the request which response code you want to validate
Put the following code into "Script" area:
This will mark the sampler as failed if response code within the given range.
For failing the Jenkins build you can use Jenkins Performance Plugin which can mark the build as failed if response code falls into unexpected range.