cancel
Showing results for 
Search instead for 
Did you mean: 

SLA's for different environments

SOLVED
Regular Visitor

SLA's for different environments

Is there a way to change SLA assertions based on what environment we are running against?  For example, we have Environment variables set up for Dev/QA/Prod.  We know that Dev will be slower and we don't want to fail a test based on the SLA, so we would like to be more forgiving there.  If we are running against Prod, we would like the assertions to be much more realistic.

 

Is there a built-in way to do this that we're missing?  If not, can it be done with a script assertion?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: SLA's for different environments

Hi Runzth,

 

You can create environment variables and specify its value for each environment. In the SLA Assertion, you will need to specify this variable:

${#Project#<Variable_Name>}

Change <Variable_Name> with your variable.

---------
Tanya Gorbunova
SmartBear Community Manager

Join the September Hub-bub to show off, learn and win
1 REPLY 1
Community Manager

Re: SLA's for different environments

Hi Runzth,

 

You can create environment variables and specify its value for each environment. In the SLA Assertion, you will need to specify this variable:

${#Project#<Variable_Name>}

Change <Variable_Name> with your variable.

---------
Tanya Gorbunova
SmartBear Community Manager

Join the September Hub-bub to show off, learn and win
New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win