Resources

SDK Testing Script

4min

In situations where there are multiple Litmus Edge instances, you can use our prepared VSCode-executable .http script to automate the initialization of the Litmus Edge instances for SDK testing.

Before you begin

Before completing the steps below, ensure you do the following:

  • Install Visual Studio Code on your local computer.
  • Verify your installed Visual Studio Code has the REST Client plugin.
  • Run at least one Virtual Machine with Litmus Edge already installed.
  • Run a second Virtual Machine with Litmus Edge Manager already installed.

The .http script

http


Using the script

Visual Studio Code with REST Client Plugin is needed to execute the script. As indicated in the script, under ##### Variables ######, modify the following values for variables as needed for your Litmus Edge and Litmus Edge Manager instances.

  • @ip
  • @defaultPassword
  • @newPassword
  • @lemUrl
  • @activationCode

This script automates PUT/POST requests to a Litmus Edge instance to communicate with the Litmus Edge Manger instance. As of right now, the script above is meant for manual Litmus Edge testing of common use cases such as the following:

  • password changes
  • confirming EULA
  • changing cloud activation end points
  • sending activation request

The script is also meant to be added with additional request as necessary to test for additional features.