Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Website Load Testing Tools

11/8/2022

0 Comments

 
Website Load Testing Tools

There are many Website Load Testing applications, here are some I recently tested. This post is to simply record some screenshots and steps I were using them. 




Website Speed Test


https://pagespeed.web.dev/






loader.io

Simple Cloud-based LOAD TESTING Site:  https://loader.io/


1. Add target hosts:

You will be asked to verify the ownership of this host by uploading a assigned file to it.If you have paid plan, you will be able to use DNS as verification method. 

2. Create a new test and run a test


3. Watch the testin real-time. 


4. Share test result:

Result sample: https://bit.ly/3t4A8qB

K6.io


Online Load Testing: https://k6.io/

Trial Subscription:


K6 provides a trial plan for 50 tests. Max concurrent VUs/test is 50 VUs and max test duration/test is 12 minutes. Data retention period is 7 days. 


Steps:

1. Create a project


2. Create a new test

3. Using a test buider
3.1 Choose load zones

3.2 Create a scenario with a new request


4. Using Scrpt Editor

Script:


import { sleep } from 'k6'
import http from 'k6/http'

// See https://k6.io/docs/using-k6/options
export const options = {
  stages: [
    { duration: '1m', target: 20 },
    { duration: '3m', target: 20 },
    { duration: '1m', target: 0 },
  ],
  thresholds: {
    http_req_failed: ['rate<0.02'], // http errors should be less than 2%
    http_req_duration: ['p(95)<2000'], // 95% requests should be below 2s
  },
  ext: {
    loadimpact: {
      distribution: {
        'amazon:us:ashburn': { loadZone: 'amazon:us:ashburn', percent: 100 },
      },
    },
  },
}

export default function main() {
  let response = http.get('https://blog.51sec.org/')
  sleep(1)
}


5. View test result

Performing testing:


Finished:



Notes:
If you have enabled Cloudflare security features to protect your website, such as WAF, Bots , you had better to disable them first. Else you will get failed error on your K6 test page since CloudFlare will send out JS Challenge to fight back to those suspicious traffic. 

06 Nov, 2022 17:48:57
JS Challenge
United States
3.82.46.88
Bot fight mode
06 Nov, 2022 17:48:54
JS Challenge
United States
3.82.46.88
Bot fight mode
06 Nov, 2022 17:48:54
JS Challenge
United States
3.82.46.88
Bot fight mode
06 Nov, 2022 17:48:52
JS Challenge
United States
3.82.46.88
Bot fight mode
06 Nov, 2022 17:48:52
JS Challenge
United States
3.82.46.88
Bot fight mode
06 Nov, 2022 17:48:51
JS Challenge
United States
3.82.46.88
Bot fight mode





Videos

TBD 







References







via Blogger http://blog.51sec.org/2022/11/website-load-testing-tools.html
November 08, 2022 at 03:56PM Software
0 Comments



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org