Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

The Build job already creates an archive which can be deployed to Azure Function using deploy Functions plugin operation (https://flexagon.atlassian.net/wiki/spaces/FD60/pages/10037461003/deployFunctions).

Anchor
machine_setup
machine_setup
Target test machine setup

  • First step is to configure the machine where the test cases will be executed. It can be the same machine where the deployment workflow ran or can be a totally different machine.

  • There could always be scenario where we are deploying the artifact to one server however the testing software/instance is present in another machine.

  • As a prerequisite, we must install the software(newman) for the testing. As from below mentioned details we can find we need to install nodejs and newman on the target system where we want to execute the test cases. In case nodejs and newman are not in PATH variable by default that path should be added as part of Test Instance property.

...

Installation command

sudo yum install –y nodejs

sudo npm install -g newman

  • We can verify if the software got installed properly and respective locations. We did the installation of software's on a new machine teplt02.

...

  • All property details with purpose and explanation can be check from plugin operation guide in confluence.

...

https://flexagon.atlassian.net/wiki/spaces/FD60/pages/9856626313/ExecuteCollection

  • For now we just keep the FDPMN_POSTMAN_COLLECTION_FILE and FDPMN_POSTMAN_ENVIRONMENT_FILE property with relevant details. Instead of providing exact path we can add Collection_file details in wild card format as well.

...