Ask a Question

How to pass values from Azure pipeline to the script?

racharla
New Contributor

How to pass values from Azure pipeline to the script?

Can I use variables that are in azure and replace variables in test script during run time using pipelines?

3 REPLIES 3
joejoyce
Staff

Re: How to pass values from Azure pipeline to the script?

Hey @racharla. I'm not an Azure pipeline expert, but is it possible for Azure to write values from the pipeline into an external file? If so, you could then potentially use that file as a Data Source for your ReadyAPI project/script. 

 

The docs on Data Sources are here: https://support.smartbear.com/readyapi/docs/functional/steps/data-source.html.

 

Please let me know if this sounds like a feasible solution!

racharla
New Contributor

Re: How to pass values from Azure pipeline to the script?

Thanks Joyce. Not sure that will work. These are client secrets and passwords. I would assume there is a standard way to handle such things when we need to run the tests in a pipeline.

nmrao
Community Hero

Re: How to pass values from Azure pipeline to the script?

Is this a readyapi question?


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: