Jmeter和Bitbucket服务器负载测试 [英] Jmeter and Bitbucket server load testing

查看:146
本文介绍了Jmeter和Bitbucket服务器负载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Jmeter的新手。我有一个本地托管的Bitbucket服务器。有时,当Bamboo计划触发并发的git clone操作时,发现Bitbucket服务器变慢/无响应,我必须重新启动该服务。我想通过对另一个本地创建的Bitbucket服务器运行jmeter测试来模拟这种行为。



我想在使用Jmeter和bitbucket服务器的情况下加载测试。




  • 通过Jmeter对Bitbucket服务器加载测试git clone和git更新操作。

  • 最初,有20个用户会向克隆请求,而有20个用户会向bitbucket服务器发出git更新请求。

  • 多个git仓库和在jmeter中配置的多个用户进行测试。



因为这些是非浏览器操作(git clone操作) ),我不确定如何提取到达bitbucket服务器的确切网址。



谢谢

解决方案

我建议使用Git Java客户端库,即



参考文献:




I am new to Jmeter. I have a locally hosted Bitbucket server. Sometimes when Bamboo plan triggers concurrent git clone operations it's found that Bitbucket servers gets slow/unresponsive and I have to restart the service. I want to simulate this behavior by running jmeter tests against another locally created Bitbucket server.

I would like to load test below scenario with Jmeter and bitbucket server.

  • Load test git clone and git update operations against bitbucket server through Jmeter.
  • Initially 20 users will make clone requests and 20 will make git update requests to bitbucket server.
  • Multiple git repos and multiple users configured in jmeter for test.

As these are non browser operations (git clone operation), I am not sure how to extract exact url which is hitting to bitbucket server.

Thanks

解决方案

I would recommend using Git Java Client library, i.e. JGit in order to mimic the required operations using JMeter. Just add JGit and dependencies to JMeter Classpath, restart JMeter and you should be able to use JGit API methods from the JSR223 Test Elements:

References:

这篇关于Jmeter和Bitbucket服务器负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆