jmeter测试完善

This commit is contained in:
waner
2025-06-09 10:51:51 +08:00
parent 9fbcd1baad
commit b4d3c1d193
3 changed files with 106 additions and 13 deletions
@@ -246,7 +246,6 @@ public class Test4Jemter extends AbstractJavaSamplerClient {
public void testAhnx() {
orgData = new byte[1024];
//裸签
byte[] nakedSign = api.get().SYD_NakedSign(orgData,SM2dn);
@@ -4178,10 +4178,12 @@ public class SydApi4j implements SydApi {
bb.put((byte) 0x31);
}
synchronized (this) {
// 响应解析
bb = syncRead(syncSend(bb));
}
// synchronized (this) {
// // 响应解析
// bb = syncRead(syncSend(bb));
// }
bb = sendAndGetResponse(bb);
byte[] success = new byte[2];
Arrays.fill(success, (byte) 0);