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
Highlighted
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 virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post

1 REPLY 1
Highlighted
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 virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post