Understanding Google Search Console URL Testing Tools API Limits - google-api

I am using Google Search Console URL Testing Tools API, I have a problem in the understanding limit quota of API. It says:
Project per-second limit per 100 seconds = 1
User per-second limit per 100 seconds per user = 1
What does that mean?

Most of highly used APIs (google, facebook..) have short-time limits and long-time limits for better control over traffic. It allows developers make many requests (eg. 20000 per day) but prevents throttling if someone would try to eg. send 1000 requests in one second, which could clog api endpoint.
What you have in your google console:
Project per-second limit per 100 seconds = 1
That means you can make 1 query for 100 seconds in each project.
And:
User per-second limit per 100 seconds per user = 1
That means you can make 1 query for 100 seconds for each user connected to project.
That two limit rules putted together dont make much sense beacuse second rule will never be triggered (both have 1 request per 100 seconds but first one is for 'higher' resource and will block more requests).
Example of many limits you can see eg. in Analytics API where we have:
Queries per day = 50000
Big limit for queries per day.
Queries per 100 seconds per user = 100
Small limit per 100 seconds and per user so they can prevent too high peaks of requests from single user.
Queries per 100 seconds = 2000
Medium limit per 100 seconds.

Related

How many request can I make in a day in google page insight API?

How many request can I make in a day in google page insight API?
After creating a project you can check your quota limits
PageSpeed Insight:
25 000 requests per day;
1 000 requests per 100 seconds;
60 requests per 100 seconds per user.
Mobile-Friendly Test: 
1 request per 100 seconds.
Safe Browsing:
10 000 requests per day;
3 000 requests per 100 seconds per user.
source: https://support.netpeaksoftware.com/en-us/article/92-how-to-get-api-token-for-google-services-pagespeed-insights-mobile-friendly-test-and-safe-browsing

How to increase the 10-20% of load after every 20-30 min in Jmeter

In my test plan I have 5 Thread groups with following number of users for 1HR,
Bulk Upload - 250 User
Log Analyzer - 50 User
Library - 10 User
CSV File Processer - 5 User
XLS File Processer - 5 User
For a particular execution I want to follow the following pattern,
Objective :
Want to execute this for 2HR (this is easy which I changed in the duration)
After every 20-30 min I want to increase the load to 10-20%
means after 30 min (example) the total user for Bulk Upload will became 275 User (if it is 10%) and similar for others and going to execute for 30 min.
And after 1HR of test Bulk Upload will became 302 User and similar for others and going to execute for 30 min.
Is there any way we can do this in JMeter in the same script during the execution.
you can achieve this by using a Ultimate thread group with the following settings.
The easiest is to just increase the total number of threads to 40-80% and amend the ramp-up period accordingly.
Alternatively you can consider using i.e. Concurrency Thread Group or Ultimate Thread Group where you can flexibly specify users arrival rate, something like:
These thread groups can be installed as a part of Custom Thread Groups bundle using JMeter Plugins Manager

Performance testing using JMeter for dynamic 365 ecommerce website using ultimate thread group. How to increase concurrent sessions?

I am doing performance testing using JMeter for a 365 dynamics ecommerce website. Script is written and its working fine for following flow: Homepage> category listing> product detail page> add to cart> and complete checkout.
I want to run my script for 200 concurrent users with some time interval. Like, start with 30 concurrent sessions for 10 minutes then increase 60 users with total concurrent session 90 for next 10 minutes. Then increase 44 users with total concurrent session 134 for next 10 minutes, Then increase 66 more users with total concurrent session 200 for next 10 minutes.
I am using ultimate thread group for this but not sure how to set configuration. See attached image.
I think you should amend your setup to introduce initial delay incrementing by 600 seconds for each group of new arrivals. The time to hold the load needs to be reduced by the same factor.
Example setup:
More information:
Ultimate Thread Group documentation
JMeter Ramp-Up - The Ultimate Guide

Is the rate limit quota in Google Plus Pages API for user or for page?

If suppose i am having more than one google plus pages and configuring them in difference brands (using the same application).In this case the rate limit (say 500 per min) will be decreased for both pages or each page having 500 requests? Thanks in advance.
There are Several Google quotas. These quotas are valid for all Google APIs the only difference really is the amount of quota you receive.
Queries per day 10,000
Queries per 100 seconds per user 500
Queries per 100 seconds 1,000
Queries per day is a project wide quota. Your application identified by the client_id and client secrete you are using can run max 10000 request per day.
Queries per 100 seconds per user this is a speed quota or flood protection really. Each user who has authenticated your application can make a max X queries per 100 seconds. in the case above the user can make max 500 request with in 100 seconds.
Queries per 100 seconds this last one is project wide. Your application identified by the client_id and client secret. Can make 1000 requests in 100 seconds.
All but the user based one can probably be increased by clicking on the penile icon in the Google developers console. Depending upon the API you may have to pay for the increase. I doubt this is the case with the Google+ pages API.

How to increase users periodially in jmeter

My test case is Users starts from 1000 and in next 1 hour there will be 10k users on website.
I am confuse that how can I increase users in jmeter so when test reach at 1 hour, I can see 10k active users.
Should I use ultimate thread group for this? I just want hint from expert to go to next step.
From what i have understood, you want to have 1000 users immediately, then slowly 9000 users in the next 1 hr, so that you will have 10000 users.
Then ultimate thread group seems to be a good choice for this exact requirement.
Hold Load for sec is the test duration with 10000 users. adjust accordingly.
Or, if your requirement is just to have 10000 users in 1 hr, (not 1000 in the beginning) , you can also use regular thread group.

Resources