首页 \ 问答 \ jmeter停止发送肥皂请求(jmeter stops sending soap requests)

jmeter停止发送肥皂请求(jmeter stops sending soap requests)

我们正在加载测试一些java soap服务,并推出了约300个类似请求的~300个线程的jmeter测试套件。 每个请求大约250k字节的数据(由于base64条目),并且在发送了700个(成功的)请求后,jmeter只是停止发送任何请求。 测试套件仍然“运行”(停止按钮可用)但没有发送请求,它什么也没做。

另一个类似的测试套件,具有相同数量的较小请求(3-4 KB),运行大约20K请求,然后发生同样的事情:测试套件“运行”但根本没有发生任何事情。

问题是:我们做错了什么?


We are load testing some java soap service and have launched jmeter test suite of ~ 300 threads by 3000 similar requests. Each request is approximately 250kbytes of data (due to base64 entry), and after sending 7 hundred something (successful) requests jmeter has simply stopped sending any. Test suite still 'runs' (stop button is available) but no requests are sent, it just does nothing.

Another similar test suite, with the same number of smaller requests (3-4 KB) runs about 20K requests and then the very same thing happens: test suite 'runs' but nothing at all happens.

Question is: what are we doing wrong?


原文:https://stackoverflow.com/questions/21399834
更新时间:2023-06-27 20:06

最满意答案

尝试用...替换你的代码

UIImageView *backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background-image.png"]];
backgroundView.frame = window.frame;
[window addSubview:backgroundView];
[backgroundView release];

...如果你的background-image.png不适合整个窗口,请尝试使用backgroundViewautoresizingMaskcontentMode


Try to replace your code with ...

UIImageView *backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background-image.png"]];
backgroundView.frame = window.frame;
[window addSubview:backgroundView];
[backgroundView release];

... and try to play with backgroundView's autoresizingMask and contentMode if your background-image.png doesn't fit the whole window.

相关问答

更多
  • 你做错的主要事情是取原始值的一半,而不是一半的大小 但是,在这种情况下,您甚至不需要计算 - 只需执行以下操作: UIView *aView = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]; aView.backgroundColor = [UIColor darkGrayColor]; UILabel *aLabel = [[UILabel alloc] initWithFr ...
  • 在“父”视图中,将clipsToBounds属性设置为YES。 On the "parent" view, set the clipsToBounds property to YES.
  • 根据UIView文档 ,跟进Daniel所说的话: 变换的原点是中心属性的值,或者图层的anchorPoint属性(如果已更改)。 (使用图层属性来获取底层Core Animation图层对象。) 因此,如果在UIView的图层中设置了anchorPoint,则直接应用于UIView的转换将发生在该点上。 To follow up on what Daniel said, according to the UIView documentation: The origin of the transform i ...
  • 尝试: yourSubView.center = CGPointMake(yourView.frame.size.width / 2, yourView.frame.size.height / 2); Objective-C yourSubView.center = CGPointMake(yourView.frame.size.width / 2, yourView ...
  • 检查这个你需要处理 - (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {} - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {} 事件 check this you need to handle - (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {} - ...
  • 您的问题在于您的中心正在设置在框架之前。 由于您正在创建没有框架参数的视图,因此您的框架为{0,0}。 所以你现在正在将子视图居中,然后调整它的大小,所以这是发生的: 你需要做的是调整子视图的大小,然后居中,如下所示: 所以你可以交换你的中心和成帧逻辑: gameOverView.frame.size = CGSize(width: 200, height: 300) gameOverView.center = super.view.center 否则,即使在创建视图时传递框架也很简单(甚至可以传递正确的 ...
  • 尝试用...替换你的代码 UIImageView *backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background-image.png"]]; backgroundView.frame = window.frame; [window addSubview:backgroundView]; [backgroundView release]; ...如果你的background-image.png不适合整 ...
  • 问题是,就您所显示的而言,您的代码完美运行: 因此,从逻辑上讲,如果出现问题,则由未显示的内容引起。 但既然你没有表现出来,就无法知道它是什么(除了猜测)。 The problem is that your code, as far as you have shown it, works perfectly: It therefore follows logically that if there's a problem, it is caused by something you have not sho ...
  • 由于您希望随着时间的推移将视图相对于不同视图相对居中,因此一种方法是根据需要添加和移除约束。 以下代码创建NSLayoutConstraint以使视图相对于另一个视图居中: class ViewController: UIViewController { @IBOutlet weak var boxView: UIView! var boxCenterX: NSLayoutConstraint? var boxCenterY: NSLayoutConstraint? fu ...
  • 编辑: 做了一些测试后,我注意到以下几点: UIViews没有anchorPoint属性,但它们确实有一个center属性。 应用变换后,始终会正确计算center属性,但转换变换除外,您必须执行以下操作: CGPoint realCenter = CGPointMake(myView.center.x + myView.frame.origin.x, ...); 至于CALayer ,它们确实有一个anchorPoint属性,但它们缺少一个中心属性。 因此,您要做的是通过对position属性,anch ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。