[英]Getting permission denied while executing shell script in jenkins pipeline
[英]Getting an error(InvalidClassException) while executing a distributed load test from Jenkins
Master 和 Slave 存在於 Linux 服務器上。 從 Jenkins 執行負載測試時出現如下所述的錯誤。當我從 Linux 服務器的 Master 執行時,相同的測試工作正常。
Starting remote engines
Starting the test @ Tue Oct 11 01:54:49 CDT 2022 (1665471289297)
Error in rconfigure() method java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase; local class incompatible: stream classdesc serialVersionUID = 242, local class serialVersionUID = 243
Remote engines have been started
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
PS:Jmeter版本,Java版本,跨所有服務器配置端口。
該錯誤意味着您在主從上有不同的 JMeter 版本, JMeter 無法正確執行序列化因此您收到錯誤
要絕對確保一切正常:
更多信息: 如何在JMeter中進行分布式測試
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.