AWS Lambda

Iridium can be run as a AWS Lambda function. This allows you to take advantage of the scale and geographical reach of the AWS cloud while running Iridium tests, which is ideal for load testing.

The following instructions show you how to execute Iridium as a Lambda function.

Function Code

Code entry type

Upload a file from Amazon S3

S3 link URL

https://s3.amazonaws.com/iridium-lambda/IridiumApplicationTesting.jar

Runtime

Java 8

Handler

au.com.agic.apptesting.lambda.LambdaEntry

Environment variables

JAVA_TOOL_OPTIONS

-DreportsDirectory=/tmp -Dwebdriver.opera.driver=test -Dwebdriver.gecko.driver=test -Dwebdriver.chrome.driver=test -DtestSource=https://mcasperson.github.io/iridium/features/firsttest.feature -DtestDestination=PhantomJS -DstartInternalProxy=-browserMob -DsaveReportsInHomeDir=false

You will want to point your own tests, defined by the testSource property. The other properties should be the same though.

Basic settings

Memory

320mb

Timeout

5 minutes

Configure test event

The input should be a string (as opposed to a JSON object). It doesnt matter what the string is as the value is not used.

Test Run

A simple test that opens google.com took around 50000 ms and consumed around 250 MB. Your results will vary, but these values are a good starting place for any customisation.

results matching ""

    No results matching ""