Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Has anyone integrated testing with Autify?

Dan Pendergrass
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

Can one of you help me figure out how to configure my bitbucket pipeline to use Autify test scenarios?

I have read Autify's documentation for Github, Azure, and AWS, but I haven't been able to configure Bitbucket appropriately.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2023

Hello @Dan Pendergrass  and welcome to Atlassian Community!

I haven't really used Autify in the past, but based on the documentation and examples you shared, I think you will just need to add a command in your bitbucket pipelines build to install Autify's CLI, so you can execute Autify commands.

Following is an example bitbucket pipelines YML file : 

pipelines:
  default:
    - step:
        name: Download and run autify
        script:
        - curl https://autify-cli-assets.s3.amazonaws.com/autify-cli/channels/stable/install-standalone.sh | sh
          - autify web test run https://app.autify.com/projects/00/scenarios/000 --wait

In the above example we are first installing the autify CLI into the build container, and then triggering an autify test and waiting for it to finish. You will need to update the autify URL (https://app.autify.com/projects/00/scenarios/000) with your own test plan/scenario URL.

Also, you will need to create a personal access token on Autify side, and save this access token in a Repository variable (Repository settings > Pipelines > Repository variables) in Bitbucket pipeline with the name AUTIFY_WEB_ACCESS_TOKEN. This is the variable autify CLI will look for to get the credentials to authenticate the request.

Hope that helps! Let me know in case you have any questions.

Thank you, @Dan Pendergrass !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events