with Testmo and Postman?
Emit new event when a monitor run is completed. See the documentation
Appends test artifacts, fields or links to an existing automation run. See the documentation
Appends test artifacts, fields or test results to an existing thread in an automation run. See the documentation
Creates a new automation run in a target project in preparation for adding threads and test results. See the documentation
The Testmo API enables automation and integration of your testing workflows into the broader CI/CD pipeline. With Pipedream, you can use this API to trigger tests, update test cases, log results, and sync status with other project management tools. By creating custom serverless workflows on Pipedream, you can connect Testmo to various apps, manage test lifecycles, and respond to events from other services in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testmo: {
type: "app",
app: "testmo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.testmo.$auth.sitename}.testmo.net/api/v1/user`,
headers: {
Authorization: `Bearer ${this.testmo.$auth.api_key}`,
},
})
},
})
The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})