- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我可以使用任何 JMeter Sampler(即 JMS 点对点、JMS Publisher ...)连接并将消息发送到 azureCloud (AzureServiceBus) 中的队列吗?
我按照此处描述的步骤操作:jmeter: Can I use jmeter JMeter "JMS Point-To-Point" to send messages to MSFT Azure Service Bus queue?
servicebus.properties - 文件在 lib 文件夹中
但我收到以下错误:
2019-01-28 09:41:40,878 ERROR o.a.q.j.JmsConnection: Failed to connect to remote at: amqp://....servicebus01.servicebus....:-1
2019-01-28 09:41:40,885 ERROR o.a.j.p.j.s.JMSSampler: Connection timed out: no further information: ....servicebus01.servicebus.dddddd.rr/xx.xx.xx.xx:5672
javax.jms.JMSException: Connection timed out: no further information: .......servicebus01.servicebus.sssss.de/xx.x.xxx.xxx:yyyyy
at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86) ~[qpid-jms-client-0.40.0.jar:?]
at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108) ~[qpid-jms-client-0.40.0.jar:?]
at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:176) ~[qpid-jms-client-0.40.0.jar:?]
at org.apache.qpid.jms.JmsConnectionFactory.createQueueConnection(JmsConnectionFactory.java:235) ~[qpid-jms-client-0.40.0.jar:?]
at org.apache.qpid.jms.JmsConnectionFactory.createQueueConnection(JmsConnectionFactory.java:222) ~[qpid-jms-client-0.40.0.jar:?]
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:664) [ApacheJMeter_jms.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:762) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:994) [jorphan.jar:5.0 r1840935]
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:977) [jorphan.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:730) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:718) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249) [ApacheJMeter_core.jar:5.0 r1840935]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: .......servicebus01.servicebus.xxxx.dd/xx.x.xxx.xxx:yyyyy
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_171]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_171]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:591) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:508) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:470) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909) ~[netty-common-4.1.32.Final.jar:4.1.32.Final]
... 1 more
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_171]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_171]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:591) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:508) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:470) ~[netty-transport-4.1.32.Final.jar:4.1.32.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:909) ~[netty-common-4.1.32.Final.jar:4.1.32.Final]
... 1 more
2019-01-28 09:41:40,891 WARN o.a.j.p.j.s.JMSSampler: Session may not be null while creating message
java.lang.IllegalStateException: Session may not be null while creating message
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:466) ~[ApacheJMeter_jms.jar:5.0 r1840935]
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.handleRequestResponse(JMSSampler.java:297) ~[ApacheJMeter_jms.jar:5.0 r1840935]
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:206) [ApacheJMeter_jms.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:622) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:546) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486) [ApacheJMeter_core.jar:5.0 r1840935]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253) [ApacheJMeter_core.jar:5.0 r1840935]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
2019-01-28 09:41:40,892 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1
我在 JMeter/lib-folder 中使用 Jmeter-5.0 和以下库:
geronimo-jms_2.0_spec-1.0-alpha-2.jar
netty-buffer-4.1.32.Final.jar
netty-codec-4.1.32.Final.jar
netty-codec-http-4.1.32.Final.jar
netty-common-4.1.32.Final.jar
netty-handler-4.1.32.Final.jar
netty-resolver-4.1.32.Final.jar
netty-transport-4.1.32.Final.jar
netty-transport-native-epoll-4.1.32.Final-linux-x86_64.jar
netty-transport-native-kqueue-4.1.32.Final-osx-x86_64.jar
netty-transport-native-unix-common-4.1.32.Final.jar
optional
proton-j-0.31.0.jar
qpid-jms-client-0.40.0.jar
qpid-jms-discovery-0.40.0.jar
slf4j-api-1.7.25.jar
最佳答案
您是否有权从负载代理访问目标主机?可能你需要 configure JMeter proxy settings
例如:
jmeter -H my.proxy.server -P 8000 -u username -a password -N localhost
关于JMeter:我可以使用任何 JMeter 采样器连接消息并将消息发送到 azurecloude 中的队列 - azure service bus,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54398473/
我突然开始在安装在我的座席池上的某些代理上收到此错误。所有它们都位于相同的虚拟机上:。我试着卸载并安装了Azure PowerShell,但错误仍然存在。此外,在不同的VM上使用相同服务连接的代理部署
我正在尝试遵循如何安装和配置 Terraform 的示例,以使用 Azure Cloud shell 将虚拟机和其他基础设施配置到 Azure 中,如 here 中所述。 : 以下命令提供了订阅 ID
使用一个持续 4 小时的 azure 沙箱 session 。一旦一个 session 过期,我就会创建一个新的沙箱来继续从 Azure 门户进行练习。执行命令后:az account set --s
我目前正在尝试使用 AzureBlobStorage 与 Lucene 配合使用。因此,我创建了一个新目录,为了避免太多延迟,我使用 RAMDirectory 作为缓存(这可能不是最好的解决方案,但它
我可以使用任何 JMeter Sampler(即 JMS 点对点、JMS Publisher ...)连接并将消息发送到 azureCloud (AzureServiceBus) 中的队列吗? 我按照
我是一名优秀的程序员,十分优秀!