Jmeter scripts Adding scripts manually

Jmeter scripts Adding scripts manually

Apache JMeter  is a Java based performance testing tool works well on web communication layer (HTTP).

How to create Jmeter scripts?

There are two ways

1)      Manually adding scripts ( Test plan >> Tread Group >> Add>> Sampler >> HTTP Request )

2)      Recording using Jmeter’s HTTP(S) Test Script recorder

How to manually add Jmeter scripts

1         Follow the path :  Test plan >> Tread Group >> Add>> Sampler >> HTTP Request as copied in the below screenshot

script-manual-add

Below the fields needs to be filled when you write a code,

1)      Name: you can give any logical name based on application (e.g Login, Home page etc)

2)      Server Name or IP : it’s nothing but the IP of your server or the url name (www.your test site.com or “your test site.com” as example or if you know the IP, provide the IP)

3)      Path :  is “/sso/auth” in this example screenshot below as the remaining contents in the url after “.com”  – if your original site is www.your test site.com/sso/auth

4)      Make sure the Method è POST and protocol can be HTTP or HTTPS – which ever protocol is used.

http-request

Jmeter Performance test scenario

Jmeter Performance test scenario – Creating a Jmeter Performance test scenario

 Thread Group: Thread group is the number of virtual users performing the transaction on application under test.

 How to add Thread group?

 

  1. Right click on the TestPlan
  2. Select Add>Thread Group from the popup.thread-group

How we design the user transactions or thread group?

As per below screenshot –

1)      The requirement shows that number of threads or user actions needed as 60

2)      Ram up time is given as 180 sec

3)      This indicates that a delay of 3 sec between transactions are applied.

This will ensure that the 60th thread or user will be starting the action at 180th sec.

Here this example is selected based on user requirement or to verify performance metrics.

thread-group-values

Jmeter Installation steps

Dear visitors .. please go through the link and support fundraising for Team Tara Pai

Jmeter Installation steps

  1. Download JMeter from (http://jmeter.apache.org/download_jmeter.cgi ) è by clicking the on the “apache-jmeter-2.13_src.zip md5 pgp” link (Binaries or Source)
  2. Extract the contents to a folder from ZIP file.
  3. Open the DOS command prompt (Flow: click on Start menu, Type cmd).
  4. In DOS screen – Navigate to the <JmeterHome>\bin directory.

install-4

  1. Type Jmeter.bat in the above mentioned command prompt.  That will bring the Jmeter application ready for performance testing.

install-5

  1. Or click on Jmeter.bat file listed in <JmeterHome>\bin should bring the application.

install-6

Software testing trends

Software testing trends. Importance of Python programming is increased specially on test automation steam. Also Open source tools like Selenium, JMeter demand is increased in IT companies.

 

Another importance area which testers can learn expertise for future opening is Mobile app testing as the popularity is tremendously increasing.

 

Agile testing and CI tools usage is increased already – most of the complex IT projects are handled using SCRUM methodologies. Script-less automation is another specialization already in place with automation. This uses customized keywords so that both functional and technical team could use and easily relate to functional requirements.

 

In conclusion – Open source tools and Mobile apps are showing good opportunities unless new technologies replace this.

Friday 13th and the fear about it

Friday 13th and the fear about it

Friday 13th fear may be caused due the combo of Friday and the number 13 – both are considered as unlucky due to couple of facts listed below

  1. The superstition belief on 13 number has Biblical origins where 13 people attended the “Last supper” – that time onwards 13 was considered as unlucky number
  2. Jesus was crucified on a Friday. Adam and Eve ate the “Forbidden apple” on Friday.

Digital Marketing and social media

Digital Marketing and social media. Digital Marketing is a way marketing includes digital formats like internet, mobile technologies, display forms etc. The main focus of digital marketing are social medias like Facebook, Twitter, whatsapp etc.

It’s very common the usage of SEO, SEM now a days for the success of any products that are online.

Latest stats show the about 70 percent of US adults are social media users everyday.

Other stars day 150 million people are daily using instgram stories.

This proves the impact of social media in digital marketing.

 

Chicken Philly sandwich

Chicken Philly sandwich

recipeforsandwitch2
Awsone Chicken philly sandwich !!!

Ingredient 1 – marinate boneless skinless chicken in olive oil, black pepper, salt and chilly powder
Ingredient 2 – sliced green pepper, yellow pepper, red pepper, onion & mushroom

– Saute ingredient 1 in olive oil until chicken is fried well. remove ingredient 1 from the pan.
– In the same pan with remaining oil it, shallow fry the ingredient 2.
– add ingredient 1 back to pan and add cheese in it. cook for 2-3 min in low flame.
– serve on to the sandwitch as shown in the above picture.
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Complete list of recipes – please click on recipes

Trending News as of Jan 12 2017

Trending News as of Jan 12 2017. My most favorite hobby is market research based on what i read from various news media. I focus mainly on new brands of cars, mobile phones, Laptops, software, new deals on various sites etc.. However this information may not be accurate and this is just my views and what I understood. Others would have their on views..:-)

Date: Jan 12-2017

N Chandrasekaran will be taking over as chairman of Tata Sons on February 21, 2017.

Amazon’s apology to Sushma Swaraj regarding the selling Indian flag designed doormats and Amazon removed the product from site.

Date: Jan 11-2017

  1. H1 and L1 Visa news about hiking the minimum wages to $100k is trending news in Indian medias on this week. This news is causing lots concerns on Indian IT professionals living in USA about their Job security as well as IT companies concerns about their margins. Some of the IT majors are already started to make changes to their business model to handle this issues proactovely.

expecting more updates..

2. WhatsApp beta v2.17.6 will be supporting GIF search. this is something i was eagerly looking for. GIF images are light weight files and easy to share and express any flow and is a nice replacement for video clips..:-)

Date: Jan 10-2017.

1. 2018 Odyssey minivan’s modern look is amazing and this fifth generation model would definitely hit market with good responses.. Some of the features I likes are..new safety features, design changes, interior seat flexibilty for second row seats,  better technology to avoid collision, cabin control, more power etc

2. Xiaomi Redmi Note 5

Xiaomi expected to release its Note 5 version in 2017 .. Expected to have resolution 1920×1080 pixels with 2.5d curved IPS and 5.5 inch size..

Rear camera expected to have 16MP with PDAF

Expected processor Snapdragon 652 it’s core

Basic knowledge required to work on QTP/UFT projects

Basic knowledge required to work on QTP/UFT projects

1.    Basic programming knowledge on VB scripting – just to modify the recorded scripts. QTP/UFT allows record/play back, using that application transactions can be recorded and later modified based on requirements. Need to learn usage of functions. Instead of functions, QTP/UFT inbuilt feature “reusable” actions can be used.

2.    Looping and Parameterization – Parameterization is required to change the already recorded data. Basically the user id, password, input values to be entered in the AUT. To repeat a transaction, looping is used. For looping “For-Next” , “Do-while” etc are used

3.    Object Spy & Object Repository– QTP developer can view the run-time/Application object properties and methods of any object in the application. This is helpful during debug mode and find out Dynamic objects. Object Repository is the place where recorded objects are stored by displaying the object properties and values. QTP developer can do some changes on values – using regular expression as an example to handle Dynamic objects.

4.    Import / Export data sheet – This is used for very basic reporting where coding is done to store AUT values, some error validations and input values in QTP datasheet or already imported spreadsheet.

1.       What is action in QTP and what are the types

Action are set of scripts logically divided, which makes the scripts more reusable and understandable. Types of actions are,

1)      Non reusable action – this scripts cannot reused or called to some other scripts.

2)      RE- usable action – this scripts can be reused and called to some other scripts.

2.       What is QTP Repositories and their types

QTP stores objects of the AUT – application under test while recording. Also manually can be added to QTP object repository. Types of object repositories are,

1)      Per action type – which cannot be shared or its local level by usage.

2)      Shared object repository – which can be shared and it is global level by usage.

Vivo IPL 2017 probable Schedule

Vivo IPL 2017 probable Schedule are yet to be announced.. Below are the probable one referring various medias..it is heard that Vivo electronics for sponsor ship on this year ..more updates yet to come..

9/4/2017 MI/RPS
10/4/2017 KKR/DD
11/4/2017 KXIP/GL
12/4/2017 RCB/SRH
13/4/2017 KKR/MI
14/4/2017 GL/RPS
15/4/2017 DD/KXIP
16/4/2017 SRH/KKR
16/4/2017 MI/GL
17/4/2017 KXIP/RPS
17/4/2017 RCB/DD
18/4/2017 SRH/MI
19/4/2017 KXIP/KKR
20/4/2017 MI/RCB
21/4/2017 GL/SRH
22/4/2017 RPS/RCB
23/4/2017 DD/MI
23/4/2017 SRH/KXIP
24/4/2017 GL/RCB
24/4/2017 RPS/KKR
25/4/2017 KXIP/MI
26/4/2017 SRH/RPS
27/4/2017 DD/GL
28/4/2017 MI/KKR
29/4/2017 RPS/GL
30/4/2017 DD/KKR
30/4/2017 SRH/RCB
01/5/2017 GL/KXIP
01/5/2017 RPS/MI
02/5/2017 RCB/KKR
03/5/2017 GL/DD
04/5/2017 KKR/KXIP
05/5/2017 DD/RPS
06/5/2017 SRH/GL
07/5/2017 RCB/RPS
07/5/2017 KXIP/DD
08/5/2017 MI/SRH
08/5/2017 KKR/GL
09/5/2017 KXIP/RCB
10/5/2017 RPS/SRH
11/5/2017 RCB/MI
12/5/2017 SRH/DD
13/5/2017 MI/KXIP
14/5/2017 RCB/GL
14/5/2017 KKR/RPS
15/5/2017 MI/DD
15/5/2017 KXIP/SRH
16/5/2017 KKR/RCB
17/5/2017 RPS/DD
18/5/2017 RCB/KXIP
19/5/2017 GL/KKR
20/5/2017 DD/SRH
21/5/2017 RPS/KXIP
21/5/2017 GL/MI
22/5/2017 KKR/SRH
22/5/2017 DD/RCB
23/5/2017 REST DAY
24/5/2017 qualifier 1
25/5/2017 eliminator
26/5/2017 REST DAY
27/5/2017 qualifier 2
28/5/2017 REST DAY
29/5/2017 GRAND FINALE