Home

  • Generate and pass API token to subsequent request in JMETER

    October 14, 2021 by

    Step 1: Open JMeter -> Add Thread Group to the Test Plan -> Add Http request sampler Step 2: Select HTTP Request sampler and change the name if you wish to. Step 3: In the Basic tab Enter following information: Protocol – http/https Server Name or IP – Enter server name/IP to generate the token.… Read more

  • JAVA program to add top two maximum number of an Array.

    August 17, 2020 by

    Below program i have written to add top two max number of an Array: package com.company;public class ArrayDemo { public int addAge(int [] age){ int largest = age[0]; int secondlargest = age[0]; for (int i=1;i<age.length;i++){ if ( age[i] > largest ){ secondlargest = largest; largest = age[i]; } if (age[i] < largest && age[i] >… Read more

View all posts

Follow My Blog

Get new content delivered directly to your inbox.