Load Testing Performance Testing RESTful APIs UI Testing

2 minutes read

We’ve implemented the Header Presets functionality in order to save time and reused same set of headers for future load tests.

The steps on how to use the Header Presets are described below:

  • Under the URL section click on the Headers button
    url_header_presets_1
  • Click “Manage Presets” button and Popup appears with the list of current presets (empty at the beginning)
    url_header_presets_2
  • Click “Add” button to add new presets
  •  New Presets popup appears
    • Select a name for the current set of headers presets
    • Start adding key/value pairs for the current preset
    • Click “Submit” when finished adding all the key/value pairs

    url_header_presets_3

  • The new preset will be visible in the Manage Presets popup
    url_header_presets_4
  • If you want to edit the current preset, just click on the preset name and edit the preset (names and values)
  • Close the “Manage Presets” popup and the presets dropdown will be populated with all created presets
    url_header_presets_5
  • Now just select the desired preset and the Headers will get populated with the values from the preset
    url_header_presets_6
  • You can click on any preset in the dropdown, the values will append to the existing ones

Use the headers for load testing websites or APIs with custom headers.

Hope this helps is making LoadFocus a better and easier load testing service and your choice for the load testing tool to use.

 

LoadFocus.com is a Cloud Testing Platform used for Load and Performance Testing for Websites and APIs and Website Speed Testing with Analytics.

Chrome Extension Integrations Load Testing

< 1 minute read

Extension Provides Capability to Run Load Tests and View Results Directly from Your Browser

LoadFocus today announced the release of its Google Chrome extension as the newest addition to their load testing platform for developers. LoadFocus’s Chrome extension allows users to run load tests directly from their browser without the need for any additional software. Load tests results are displayed inside the extension, with the ability to view complete results and charts with a single click.

Using basic metrics like response time, latency, hits per second and total errors, users can easily view the performance of their websites and compare with previous results, easily from the load testing chrome extension.

No need to install anything to run performance test, the Chrome extension will create everything for you automatically.

Get the LoadFocus Chrome extension is free to use for all plans.

 

load testing chrome extension

Load Testing Performance Testing

< 1 minute read

We created a list with top reasons why load testing should matter to your website or APIs:

  1. to identify potential bottlenecks of your application
  2. to discover the number of concurrent users that can access your application without a heavy degradation of the user experience
  3. to find out the breaking points of the technology stack used by your application
  4. to find your application’s behaviour under load
  5. to check the time it takes for your server to respond to clients and understand if your website loads in a decent amount of time
  6. to find out how slow the APIs or any other web service respond under heavy load
  7. to understand if the database technology or the connections to the databases (Postgres, Redis, Mongo etc) represent a bottleneck in your application
  8. to find out if the changes done in each release had a bad influence on the performance behaviour of the application
  9. for overall changes that are likely to influence the performance behaviour
  10. for fine tuning the different technology stack components
  11. to discover hardware issues or hardware/VM related problems, like limitation on the number of threads or file descriptors configured on the system
  12. if your article reaches the first page on Hacker News, but your website is down you regret you haven’t considered load testing previously
  13. to know how many parallel users your website can handle
  14. to understand if any errors appear to the end users and how are these going to affect their journey
  15. to be confident you can make a email campaign and all your customers are going to experience the designed workflow

 

LoadFocus.com is a Cloud Testing Platform used for Load and Performance Testing for Websites and APIs and Website Speed Testing with Analytics.

Cloud Services Load Testing Performance Testing

2 minutes read

LoadFocus can be considered one of the best and easiest load testing tools of the moment. Here’s why you should take into account signing up or switching your current load testing tool:

1. LoadFocus is EASY to use.

Tired of having to struggle configuring load tests and understanding clunky and complex dashboards with hard to read test results? LoadFocus makes things differently.

  • no “IT Guy”, code or installation required.
  • simplified interface, user friendly.
  • create new tests in seconds.
  • easily configurable load testing tool

Configure New Load Test

configure new load test

 

Live Load Test Results

live load test results

2. LoadFocus OFFERS YOU:

  • different types of load tests: load test per duration, load test per number of repeats.
    • Number of Clients that hit the application in parallel over a period of time: Identifies application behaviour when x clients connect on the app in parallel over a period of time.
    • Number of Clients that hit the application in parallel for a specific number of times: Identifies application behaviour when x clients connect for x times on your application.
      Live results.
      Multiple world locations that create real load scenarios.
  • results presented in simple charts using relevant performance metrics: response time, latency time, throughput, hits per second, size.
  • fully understanding of error codes and response codes.
  • fully explained performance testing terms and useful knowledge base.
errors-response-codes-load-test-results

3. LoadFocus FACTS:

    • supports up to 600,000 users per test on websites, mobile and web applications and APIs.
    • no coding required.
    • load tests run from the browser.
    • saved history, no more lost test results
  • 1,000 companies use LoadFocus to load test their applications.
  • continuous delivery of new features are planned in the next period.

4. LoadFocus is more AFFORDABLE.

  • We believe that testing software should be affordable for anyone.
  • For the full range of features is one of the most cost effective load testing tools,
  • We also provide a Free plan, but with limited functionality and applied limits. Check Pricing and Plans for more details.
  • Compare it with any other load testing solution and you’ll figure it out.

Ready to give LoadFocus a try?

We hope all above details were useful to you.
To sign up for your free, no-risk trial (no credit card required), just click here.

Still have questions? Click that “Need Help?” widget in the bottom right corner of this screen.

https://loadfocus.com

3 minutes read

If you own an E-commerce website or you are responsible with the performance of a E-commerce website there are some specific tests you would want to do in order to find potential bottlenecks and be confident nothing is going to break when a lot of users are going to access your E-commerce website.

Here are some potential performance and load tests I would recommend everyone needs to run.
Have in mind that running a test with LoadFocus is pretty easy, it takes no longer than 30 seconds to configure a test, you don’t need any code and you can run the test from the browser.

As a prerequisite, I would suggest having a look at my previous post regarding top performance testing tips.

Steps to assess the performance of your E-commerce website:

  1. Get real usage of your website and expected visitors in the next period (have in mind any special deals your site may start promoting, email campaigns or other future marketing campaigns that are going to bring more traffic to your web application)
  2. Identify the location of your visitors in order to create real life testing scenarios
  3. Start small, and create a baseline test for your load testing metrics: monitor response time, latency time, number of hits per second, the throughput of your website and if any errors that appeared, find here more details about load testing metrics.

Load Tests:

  1. Clients per duration at 10 and the Duration at 60 seconds. Create first baseline test in LoadFocus, go to new load test page:
    • Set Clients per duration at 10 and the Duration at 60 seconds – resulting in a 60 seconds load test by 10 concurrent users hitting the website every second from the configured location, a total of 600 users loading the E-commerce website per test
      new-load-test
    • Run the test and start inspecting live results, check response time, latency time, number of hits per second, the throughput of your website and if how many and what type of errors were thrown.
      live-results-load-testresponse-time-load-test-resultserrors-response-codes-load-test-results
  2. Clients per duration at 50 and the Duration at 60 seconds. Re-run the test increasing the number of Clients per duration at 50, keeping the Duration at 60 seconds
    • After each run inspect the results and check if any errors are thrown from your E-commerce application, find here more details about potential errors and response codes in load testing.
      50-ecommerce-users-per-second-load-test-results-chart
      50-users-per-second-load-test-results
    • Go to the Trends section and compare the results with the previous runs.trends-results-load-test

Continue by increasing the number of Clients per duration up to 1000 clients per second, also increase the Duration of the load test. This will help you identify potential memory-leaks of your applications, unexpected service or app restarts. If you have the ability to monitor the CPU and Memory of the instance where the website is hosted, this will add more value to your overall E-commerce website performance assessment.

 

Hope this helps and happy load testing.

LoadFocus is a easy to use cloud testing tool for load testing, API monitoring, website speed testing. Try it free

Page Load Time UI Testing Website Speed Testing

< 1 minute read

We’ve created a Free Website Speed Test in order to analyse the speed and bottleneck of your websites, and learn how to make them faster.

With the website speed test you can find out if a web page is loading fast or slow, what best practices you are not following and how to make is faster.

It’s a very easy to use our speed tool which helps everyone understand and optimise the performance of their websites.

Slow loading websites are very annoying for your customers, now you can improve your website speed and keep your visitors happy.

 

LoadFocus offers a Pro plan in order to test website speed from multiple locations around the globe and get a complete analysis of load time of all elements of the web page.

Click here to checkout the Pro plan

Load Testing Performance Testing Test Automation

3 minutes read

Below we listed what we consider 10 tips and tricks related to load and performance testing:

1. What exactly do you want to measure?

There is no general approach for running a performance test, so you need to define what output to expect from the load test and what questions are you trying to answer?

Start with a business needs analysis as you don’t want to pay for a tool you don’t actually need or paying extra for features you don’t need.

If your application uses APIs run performance tests against APIs, if you application has clients all around the world than run load tests from different locations in the world in order to find you latency issues. Also consider the countries and regions where you anticipate high usage.

Make these relevant to your business stakeholders. Agree what level of success you need and this will define your exit criteria.

2. Decide which metrics you want to measure in your load/performance test

Load testing is useful when is done properly. Try to allocate enough time and thought for each stage of your test:

  • planning your testing scenarios and getting prerequisites
  • execution of your performance testing scenarios
  • understanding and results analysis – this phase would require a lot time to be allocated for truly understanding the results and finding the solutions for the found problems

3. Involve the right people for successful testing scenarios

Involve the right people in the testing effort, Developer, Network Engineer, DBA, Business Owner, QA – each will approach the problem from a different angle and you get an overview of the current performance of your application, website, API infrastructure, content and network.

4. Consider free and paid tools

Evaluate your technical needs not just for today, but also for the future. Do not use price to decide which options to evaluate.
Try to be as close to your actual users experience as possible when running a load test. If you can’t achieve this using a free or an open source load testing tool, then maybe a paid solution will solve your need. Load Testing should not start with a budget and go and spend it.

5. Inspect first results and decide which test scenarios you need to run in order to get most of your application behaviour

Results need to be looked at carefully to ensure bottlenecks/errors/weaknesses are really understood and that the proposed solutions are effective. Make sure to reach out to everyone and schedule adequate time.

6. Identify your production application performance results

Be ready to test your production application.
For most of the cases you don’t have a staging environment where you can run your performance tests, or your stating environment is not an exactly duplicate of the production environment (not exact duplicates of database data, or network bandwidth, or accessible only from inside the firewall).

7. Start small and go until you break your application, website or API

Start with running a test with just one user (client) per second, and check the performance metrics your are interested in.
Go with 5, 10, 50, 100, 500 , 1000 users (clients) per second from 1 minute up to 10 minutes.

Try to store the results in an easy to inspect manner, so that when you want to compare different test runs this would be a very easy task. This is where cloud load testing solution are also handy. They keep all your previous runs without losing valuable performance testing results for future inspections.

8. Analyse load tests results

Take your time and try to understand the results of your various tests, based on number of concurrent (parallel) users, duration, delay between clients start hitting the application, location etc.

Inspect performance metrics like response time, latency, hits per second, throughput per second, errors, CPU, memory, I/O usage (where you can measure).

9. Deploy new build and run same tests again

Try to monitor improvements or degradations of your new build by running same tests on same environment.
Also run performance tests again when new build is released (code changes), hardware is changed, application architecture is changed, changes are made on the server side or at the database level, traffic spikes are expected etc.

Improvements include: bug fixes, caching, code refactoring, database optimisation or hardware changes.

10. Schedule load and performance tests

Load testing your application on a scheduled manner will help you continually improve your product, your business and find errors or application bottlenecks before your clients will encounter them.

Performance testing doesn’t have to be time-consuming, hard to understand or difficult to run. If you do your performance tests right and part of every software cycle, you can avoid future disasters.

 

LoadFocus.com is a Cloud Testing Platform used for Load and Performance Testing for Websites and APIs, API & Website Uptime Monitoring, Website Speed Testing with Analytics.