Reimagine API automation *by plugging your Postman...
# feed
g
> Reimagine API automation by plugging your Postman collections into any JVM programs/tests (e.g., Unit tests or Integration tests) using ReṼoman (Rev-Woman) 🦹🏻‍♀️ An Open-source template-driven API automation tool for JVM (Java/Kotlin) from the API-first SaaS company Salesforce. It strikes a balance between flexibility and ease of use and lets you convert manual testing into Automation without any loss or resistance. > <https://github.com/salesforce-misc/ReVoman/blob/7c07fcbbfa4441b1c20a5457ef9606ea2a65715f/src/integrationTest/kotlin/com/salesforce/revoman/integration/restfulapidev/RestfulAPIDevKtTest.kt#L17-L17 > |Unit test link in Repo> to run and see in action
Copy code
class RestfulAPIDevKtTest {
  @Test
  fun `execute restful-api dev pm collection`() {
    val rundown =
      ReVoman.revUp( // <1>
        Kick.configure()
          .templatePath(PM_COLLECTION_PATH) // <2>
          .environmentPath(PM_ENVIRONMENT_PATH) // <3>
          .nodeModulesRelativePath("js")
          .off()
      )
    assertThat(rundown.stepReports).hasSize(3)
    assertThat(rundown.firstUnsuccessfulStepReport).isNull()
  }

  companion object {
    private const val PM_COLLECTION_PATH =
      "pm-templates/restfulapidev/restful-api.dev.postman_collection.json"
    private const val PM_ENVIRONMENT_PATH =
      "pm-templates/restfulapidev/restful-api.dev.postman_environment.json"
  }
}
It does more than just executing the postman collection. Refer the documentation for more features: https://sfdc.co/revoman