我正在寻找一个免费的/更简单的JMeter替代品.它是一个非常完整而复杂的工具,我需要的是模拟对站点的多个同时调用,获取有关性能的统计信息(响应时间),并查看它可以承受多少并发调用而不会中断.抛出一些图表会很有用.
谢谢.
你能告诉我没有的最大限制吗?我可以在JMeter 2.4中用于进行负载测试的线程吗?
在单个循环中采用所有线程或采用较少的no是否有任何区别.线程和初始化循环实现相同的没有.用户/线程?
例:
No. of threads=500
Ramp up=1000
Loop=1
Run Code Online (Sandbox Code Playgroud)
是否与...相同
No. of threads=50
Ramp up=100
Loop=10
Run Code Online (Sandbox Code Playgroud)
或者结果有什么不同?
带有3200X1800联想笔记本电脑的Windows 8上的jmeter UI无法使用.最左侧窗格中的字体太小,而右侧的行间距对于字体而言太小.如果我将分辨率更改为1920X1080,则无效.尝试在1920X1080的第二台显示器上使用.没运气.系统设置为大尺寸.似乎无法交换哪个显示器是主要的.任何人解决这个?
我在fedora上运行jmeter2.12.
生成仪表板报告的步骤是什么?
使用JDK11在我的项目上运行测试在调用Maven Aether时,我在此行遇到了失败:
下载错误依赖项时会发生这种情况:
公地MATH3:公地MATH3
我的假设是我面临一个JDK11错误:
- https://stackoverflow.com/questions/52016415/jdk-11-ssl-error-on-valid-certificate-working-in-previous-versions
Run Code Online (Sandbox Code Playgroud)
如果是问题,这怎么可以解决?
由于stackoverflow限制,Stacktrace部分被截断:
[INFO] [ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:DEV-SNAPSHOT:configure (configure) on project test-plugins: Failed to collect dependencies at org.apache.jmeter:ApacheJMeter_components:jar:2.13 -> org.apache.jmeter:jorphan:jar:2.13 -> commons-math3:commons-math3:jar:3.4.1: Failed to read artifact descriptor for commons-math3:commons-math3:jar:3.4.1: Could not transfer artifact commons-math3:commons-math3:pom:3.4.1 from/to JBoss (https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/): extension (10) should not be presented in server_hello -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:DEV-SNAPSHOT:configure (configure) on project test-plugins: Failed to collect dependencies at org.apache.jmeter:ApacheJMeter_components:jar:2.13 -> org.apache.jmeter:jorphan:jar:2.13 -> …Run Code Online (Sandbox Code Playgroud) 我使用google.loader.ClientLocation进行了一些测试:
但我在测试中得到null:
if (google.loader.ClientLocation)
Run Code Online (Sandbox Code Playgroud)
这是谷歌找不到IP信息时的行为.
我搜索了StackOverflow并且有很多关于它的问题,但没有好的答案.
我在网上搜索了这两个链接:
这似乎说应该使用导航器HTML地理位置.
Google API文档不再提及它了.
我想确认谷歌google.loader.clientlocation是否还在工作?
我的代码如下:
<html>
<head>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
</head>
<body>
<script type="text/javascript">
function geoTest() {
if (google.loader.ClientLocation) {
var latitude = google.loader.ClientLocation.latitude;
var longitude = google.loader.ClientLocation.longitude;
var city = google.loader.ClientLocation.address.city;
var country = google.loader.ClientLocation.address.country;
var country_code = google.loader.ClientLocation.address.country_code;
var region = google.loader.ClientLocation.address.region;
var text = 'Your Location<br /><br />Latitude: ' + latitude + '<br />Longitude: ' + longitude + '<br />City: ' + city + '<br />Country: …Run Code Online (Sandbox Code Playgroud) 我是jmeter的新手.
我正在尝试使用代理服务器测试Web应用程序.
我已经通过jmeter文档并获得了设置,但我目前正在公司代理下工作.
那么如何从当前代理后面为jmeter设置代理服务器呢?
我正在使用Apache JMeter 2.3,它现在支持Proxy Server元素下的"尝试HTTPS欺骗".
我在几个不同的服务器上试过这个,并没有成功.有没有人能够使用此设置从HTTPS源成功录制?
或者除非成功录制,否则任何人都可以共享一个解决方案吗?如果可用,我只是在服务器级别关闭了HTTPS,但这并不总是可行的.思考?
我现在通过我的机器上的jmeter负载测试网站.但是我想要一个真实世界的场景,因此jmeter可以使用ip别名或ip欺骗,看起来像是从不同的ip地址发送请求.
1).我知道如何从我的问题访问beanshell中的java字段和对象使用beanshell中的java类字段.但是,实现起来并不是那么干净,因为我需要先在beanshell中设置java变量,然后才能使用它.但是,在Jmeter中,它提供了非常干净的方式在beanshell中使用map,就像在java中一样,但是JMeter开发了它的知道库(类),它有助于访问map的get/put方法.我想以类似的方式在beanshell中访问Map.
我已经检查了JMeter以获取更多信息,我想知道,我已经创建了用户定义变量temp和赋值错误,现在在BSF过程中我只写了一行vars.put('Name','temp Value')并且它已更新临时变量的值.所以,问题是我还没有创建JMeterVariables对象变量,但仍然beanhell允许更新map中的值而不设置你的答案中提到的任何值.我想知道这是如何工作的,需要更深入的信息.
2).我在java和beanshell中创建了自己的类我正在导入这个类,但Command not found: BSClass()下面给出的是整个代码
Java类
package test;
public class BSClass {
public void BSCMethod(){
System.out.println("I am from BSClass method BSCMethod");
}
}
Run Code Online (Sandbox Code Playgroud)
sample.bsh
import test.BSClass;
c=BSClass();
c.BSCMethod();
print("I am from BeanShell Script");
Run Code Online (Sandbox Code Playgroud)
调用sample.bsh文件java类
package test;
import java.io.FileNotFoundException;
import java.io.IOException;
import bsh.*;
public class DynamicVariable {
public static void main(String[] args) throws FileNotFoundException, IOException, EvalError {
new bsh.Interpreter().source("\\src\\test\\sample.bsh");
}
}
Run Code Online (Sandbox Code Playgroud)
注意:
我很感激您的意见
jmeter ×7
java ×3
load-testing ×2
performance ×2
automation ×1
beanshell ×1
geolocation ×1
google-api ×1
graph ×1
grinder ×1
hdpi ×1
highdpi ×1
html5 ×1
https ×1
ip ×1
java-11 ×1
maven ×1
maven-plugin ×1
proxy ×1
report ×1
spoofing ×1
ssl ×1