import { 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`,
},
})
},
})
Create a new requirement. See the documentation
Get details of a defect. See the documentation
Get details of a requirement. See the documentation
Submit a new defect. See the documentation
Update a defect. See the documentation
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:
POSThttps://{{custom_fields.qtest_base_uri}}/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/jsonusername={{custom_fields.username}}&password={{custom_fields.password}}&grant_type=passwordPOSThttps://{{custom_fields.qtest_base_uri}}/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/jsonrefresh_token={{oauth.refresh_token}}&grant_type=refresh_token