User Tools

Site Tools


development:applications:footprints:load

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:applications:footprints:load [2018/05/08 11:47] srenshawdevelopment:applications:footprints:load [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Footprints Load Testing Application ======
 +
 +Author: Sophie Renshaw
 +
 +The footprints load testing tool was developed as a mean of load testing the Errigal Footprints component. 
 +
 +===== Getting Started =====
 +
 +The footprints load testing tool is stored in bitbucket: [[https://bitbucket.org/errigal/footprints-load-testing/src/master/]]
 +
 +Clone the repo and open locally using IDEA. 
 +
 +All settings for the tool are stored in the TestingConfig.groovy file. Any changes that need to be made can be made in here, i.e database connections, ticket query, email configurations etc: 
 +
 +<code>
 +class TestingConfig {
 +
 +    //Number of emails to send
 +    static int emailCount = 100
 +    static boolean correctEmailFormat = true
 +
 +    //Database Connection
 +    static String hostIp = "nvqadb2.ckpotpvjjxpn.us-east-1.rds.amazonaws.com"
 +    static String databaseName = "ticketer"
 +    static String dbUsername = "<USERNAME"
 +    static String dbPassword = "<PASSWORD>"
 +
 +    //Ticket Query
 +    static String query = "SELECT id FROM ticket WHERE current_status_id IN (select id from ticket_status where status in ('FOT Dispatched','FOT Dispatched - Pending Parts')) ORDER BY RAND() LIMIT 1;"
 +
 +    //Email Config
 +    static String name = "Footprints Active Configuration"
 +    static String username = "testing"
 +    static String password = "#Test321!#"
 +    static String emailTo = "atc_das_noc@errigal.com"
 +    static String emailFrom = "testing@nvqa.awsapps.com"
 +    static boolean activeSMTPConfig = true
 +    static boolean activeIMAPConfig = false
 +    static String emailSubject = "Load Testing"
 +
 +    //AmazonSES
 +    static String host = "email-smtp.us-east-1.amazonaws.com"
 +    static String sesUsername = "AKIAJ56FQRUVGHS7GRCA"
 +    static String sesPassword = "AvCninHhKoQcTIBkQ0KkSfkRVdhA7Rco16QLZOleXrt/"
 +
 +    //Session Properties
 +    static String transportProtocol = "smtp"
 +    static int port = 587
 +    static boolean starttls = true
 +    static boolean authentication = true
 +
 +}
 +</code>
 +
 +To run the load testing tool, run the Main.groovy class. 
 +
 +The load testing tool logs, footprints logs, ticketer logs, emails and individual tickets should be checked to verify that all functionality is working as intended.
 +
 +
 +