-
Notifications
You must be signed in to change notification settings - Fork 3
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.
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
![](/assets/Screenshot-2017-10-19 Lambda Management Console.png)
JAVA_TOOL_OPTIONS
-DreportsDirectory=/tmp -DuseSuppliedWebdrivers=false -DstartInternalProxy=-browserMob -DsaveReportsInHomeDir=false
These are the common settngs that should be used for all Lambda tests.
Memory
320mb
Timeout
5 minutes
The input should be a JSON object with the system property names as keys.
{
"testSource": "https://mcasperson.github.io/iridium/features/firsttest.feature",
"testDestination": "PHANTOMJS"
}
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.