(MYSQL) Database performance Testing using Jmeter with database test plan

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 16

  • @AyushiDwivedi-wy2ms
    @AyushiDwivedi-wy2ms 7 หลายเดือนก่อน

    Really Helpful, looking forward to more videos like this for performance and API testing.

  • @bijendrasingh2751
    @bijendrasingh2751 4 ปีที่แล้ว +1

    Good job Mr. Software test warriors , Thannks for a hardwork for us

  • @YugureInfotech
    @YugureInfotech 8 หลายเดือนก่อน

    This is very informative video which helped.

  • @laalusingh2071
    @laalusingh2071 4 ปีที่แล้ว

    Nice information.

  • @VivekSingh-bz8jd
    @VivekSingh-bz8jd 4 ปีที่แล้ว

    Good for QA beginners

  • @anshusingh-co8ih
    @anshusingh-co8ih 4 ปีที่แล้ว +1

    Can you share same videos for SQL server & posgress ...it will be really helpfull

  • @ajeetsingh5716
    @ajeetsingh5716 4 ปีที่แล้ว

    Awesome video ,it helped in database performance testing.

  • @pratheepkumar4218
    @pratheepkumar4218 4 ปีที่แล้ว +1

    Hi, how to connect with mongodb.

    • @softwaretestwarriors1925
      @softwaretestwarriors1925  4 ปีที่แล้ว +1

      Hi pratheep for mongo DB connection you can follow steps :
      1. Download groovy jar file:
      2. Download mongo java jar file:
      3. Jmx connection: use below code
      import com.mongodb.*
      import com.mongodb.client.MongoClients;
      import com.mongodb.client.MongoClient;
      import com.mongodb.MongoClientSettings;
      import com.mongodb.ServerAddress;
      import com.mongodb.client.MongoCollection;
      import com.mongodb.client.MongoDatabase;
      import org.bson.Document;
      import java.util.Arrays;
      try {
      MongoClientSettings settings = MongoClientSettings.builder()
      .applyToClusterSettings {builder ->
      builder.hosts(Arrays.asList(new ServerAddress(vars.get("mongoHost"),vars.get("mongoPort").toInteger())))}
      .build();
      MongoClient mongoClient = MongoClients.create(settings);
      MongoDatabase database = mongoClient.getDatabase(vars.get("databaseName"));
      MongoCollection collection = database.getCollection(vars.get("collectionName"));
      vars.putObject("collection", collection);
      return "Connected to " + vars.get("collectionName");
      }
      catch (Exception e) {
      SampleResult.setSuccessful(false);
      SampleResult.setResponseCode("500");
      SampleResult.setResponseMessage("Exception: " + e);
      }
      Note : Above config maybe bit complex , I will come up with my next videos on all DB's widely used

    • @pratheepkumar4218
      @pratheepkumar4218 4 ปีที่แล้ว +1

      @@softwaretestwarriors1925 thanks

  • @mr.megatronawarrior4488
    @mr.megatronawarrior4488 4 ปีที่แล้ว

    Much needed to Mysql

  • @mannatpandey9924
    @mannatpandey9924 4 ปีที่แล้ว

    This video helped me.

  • @nitishsingh8539
    @nitishsingh8539 3 ปีที่แล้ว

    Hello