Scalable test management, operations, and analytics to centralize testing and orchestrate quality at speed, with visibility throughout the software development lifecycle.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tricentis_qtest: {
type: "app",
app: "tricentis_qtest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.tricentis_qtest.$auth.qtest_base_uri}/api/v3/re-evaluation`,
headers: {
Authorization: `Bearer ${this.tricentis_qtest.$auth.oauth_access_token}`,
},
params: {
includeInaccessibleApps: `false`,
},
})
},
})
Tricentis qTest uses OAuth authentication. When you connect your Tricentis qTest account, Pipedream will open a popup window where you can sign into Tricentis qTest and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Tricentis qTest API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://{{custom_fields.qtest_base_uri}}/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
username={{custom_fields.username}}
&
password={{custom_fields.password}}
&
grant_type=password
POST
https://{{custom_fields.qtest_base_uri}}/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
refresh_token={{oauth.refresh_token}}
&
grant_type=refresh_token