Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The runJUnitTests operation allows for running JUnit tests on Mule Servers. Although this operation was not designed for use with Mavenized Mule projects, it will run tests on them as well, and could serve to prove that the <provided> scope jars are indeed provided by the Mule server.startApplication operation starts a stopped Mule Application. It can be used in build or deploy workflows.

This operation is compatible with the following types of servers:

Server TypeNotes
CloudHub
Anypoint Runtime Manager
Runtime Agent
StandaloneThis operation should run on the Mule server where the project will be

...

The project tests will be built using javac and other command line tools.

This operation should be run after the buildMule operation, and on the same endpoint, environment, and instance.

...

started.

Environment/Instance Properties

...

Property Name

Property Code

Required for which server Types

Description


FDMULE_APP_NAME

All



FDMULE_HOMEYesStandalone

FDMULE_USER


FDMULE_PASSWORD


FDMULE_TYPEAll

FDMULE_ORG_NAME


FDMULE_ENV_NAME


FDMULE_TIMEOUT


FDMULE_TARGET_TYPE


FDMULE_TARGET_NAME


FDMULE_STATIC_IPADDRESS

Inputs

Input Name

Input Code

Required

Description

Mule Project PathFDMULE_PROJECT_PATHNoThis is the folder that typically is named for your application and contains your [src] folder. Relative paths are sourced from the FD_TEMP_DIR.
http.portFDMULE_HTTP_PORTNo

HTTP port to use when running JUnit tests. This should be a different number than the one that is usually used to run the application on the server. This only works if
${http.port} is used in your HTTP Connector.

...