我是ISO 8583消息的新手。我在LB平衡器日志中收到无效位图错误,我正在从JMETER发送请求。
2.01.12 21:44:19.462 [ blr:16449792]D-BLR-10013: Read 12 bytes
22.01.12 21:44:19.462 [ blr:16449792]CCTClient::check_after() - actived
22.01.12 21:44:19.462 [ blr:16449792]CCTClient::check() ret:None
22.01.12 21:44:19.462 [ blr:16449792]L-BLR-10017: Recv 12 bytes from
_F_JS[265], ID[269616260] at 1642013059 462
22.01.12 21:44:19.462 [ blr:16449792]D-ISOHDL-0001: Process field: h1
22.01.12 21:44:19.462 [ blr:16449792]D-ISOHDL-0001: Process field: mti
22.01.12 21:44:19.462 [ blr:16449792]E-ISOHDL-2005: Exceed end of msg, field[mti]
22.01.12 21:44:19.462 [ blr:16449792]E-ISOHDL-0004: Error in parsing iso8583 msg, no
msgid generated
22.01.12 21:44:19.462 [ blr:16449792]E-BLR-70003: Retrieve MsgInfo failed, src port:
_F_JS.
22.01.12 21:44:19.462 [ blr:16449792]D-BLR-70024: Handler resp method return -1
22.01.12 21:44:20.589 [ blr:16449792]D-BLR-10013: Read 15 bytes
22.01.12 21:44:20.589 [ blr:16449792]L-BLR-10017: Recv 15 bytes from
[265], ID[2797415146] at 1642013060 589
22.01.12 21:44:20.589 [ blr:16449792]D-ISOHDL-0001: Process field: h1
22.01.12 21:44:20.589 [ blr:16449792]D-ISOHDL-0001: Process field: mti
22.01.12 21:44:20.589 [ blr:16449792]D-ISOHDL-0001: Process field: 0
22.01.12 21:44:20.589 [ blr:16449792]E-ISOHDL-1000: Invalid bitmap field, at msg offset[e]
22.01.12 21:44:20.589 [ blr:16449792]E-ISOHDL-0004: Error in parsing iso8583 msg, no msgid
generated
22.01.12 21:44:20.589 [ blr:16449792]E-BLR-70003: Retrieve MsgInfo failed, src port:
_F_JS.
22.01.12 21:44:20.589 [ blr:16449792]D-BLR-70024: Handler resp method return -1
22.01.12 21:44:20.589 [ blr:16449792]CCTClient::check() ret:None'
我在JMeter调试日志中看到。
这是它正在形成的打包请求。
'313230304632333030374331323843323841303531363434303634373030313430323135373730303030303030303030303030303032303030313132323134323031303031343432323230313132303934323031373130333031373033333443303130303332303030343139393030333734323036353838383437303233373334383433353137383234393633363636363636363636363636363638353237343139363633333120202030303652414a425031303336383234374646463031303030303430303030303033373137305f2a020682820219808407a0000002281010950500000080019a032112149c01009f02060000000050009f03060000000000009f10120110a040002a00000000000000000000ffff9ff1a0206829f2608cfef18b5eaecb9949f2701809f3303e008089f34031f03029f3501229f3602003b9f3704055b6e3b50046d6164619f6e07068200003030009f120a6d6164612044656269744f07af00000022810109f1e08353030313030343830303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303131303232303330303431303530343030353030374e30303030303045303030303030303039303130303030303030303030313130303030303030303031323130333431383030303133313033343139303030313431333438313033343030313531353036303030393136303130313031303232423439313137424646464646464646'
JMeter请求消息:
<isomsg direction="outgoing">
<!-- org.jpos.iso.packager.GenericPackager[C:/MTesting/POC/] -->
<header>6000376D25</header>
<field id="0" value="1200"/>
<field id="1" value="F23007C128C28A05"/>
<field id="2" value="4406470014021577"/>
<field id="3" value="000000"/>
<field id="4" value="000000000200"/>
<field id="7" value="0112212717"/>
<field id="11" value="1442"/>
<field id="12" value="220112092717"/>
<field id="22" value="71030170334C"/>
<field id="23" value="0"/>
<field id="24" value="200"/>
<field id="25" value="1990"/>
<field id="26" value="742"/>
<field id="32" value="588847"/>
<field id="35" value="37"/>
<field id="37" value="147987678722"/>
<field id="41" value="6366666666666666"/>
<field id="42" value="852741966331"/>
<field id="47" value="BANBP1"/>
<field id="49" value="682"/>
<field id="53" value="47FFF010000400000037" type="binary"/>
<field id="55"
<field id="62"
<field id="64" value="2B49117BFFFFFFFF" type="binary"/>
</isomsg>
请求生成的十六进制转储
<!--
0000 31 32 30 30 46 32 33 30 30 37 43 31 32 38 43 32 1200F23007C128C2
0010 38 41 30 35 31 36 34 34 30 36 34 37 30 30 31 34 8A05164406470014
0020 30 32 31 35 37 37 30 30 30 30 30 30 30 30 30 30 0215770000000000
0030 30 30 30 30 30 32 30 30 30 31 31 32 32 31 32 37 0000020001122127
0040 31 37 30 30 31 34 34 32 32 32 30 31 31 32 30 39 1700144222011209
0050 32 37 31 37 37 31 30 33 30 31 37 30 33 33 34 43 271771030170334C
0060 30 31 30 30 33 32 30 30 30 34 31 39 39 30 30 33 0100320004199003
0070 37 34 32 30 36 35 38 38 38 34 37 30 32 33 37 31 7420658884702371
0080 34 37 39 38 37 36 37 38 37 32 32 36 33 36 36 36 4798767872263666
0090 36 36 36 36 36 36 36 36 36 36 36 38 35 32 37 34 6666666666685274
00a0 31 39 36 36 33 33 31 20 20 20 30 30 36 52 41 4A 1966331 006RAJ
00b0 42 50 31 30 33 36 38 32 34 37 46 46 46 30 31 30 BP10368247FFF010
00c0 30 30 30 34 30 30 30 30 30 30 33 37 31 37 30 5F 000400000037170_
00d0 2A 02 06 82 82 02 19 80 84 07 A0 00 00 02 28 10 *.............(.
00e0 10 95 05 00 00 00 80 01 9A 03 21 12 14 9C 01 00 ..........!.....
00f0 9F 02 06 00 00 00 00 50 00 9F 03 06 00 00 00 00 .......P........
0100 00 00 9F 10 12 01 10 A0 40 00 2A 00 00 00 00 00 ........@.*.....
0110 00 00 00 00 00 FF FF 9F F1 A0 20 68 29 F2 60 8C .......... h).`.
0120 FE F1 8B 5E AE CB 99 49 F2 70 18 09 F3 30 3E 00 ...^...I.p...0>.
0130 80 89 F3 40 31 F0 30 29 F3 50 12 29 F3 60 20 03 ...@1.0).P.).` .
0140 B9 F3 70 40 55 B6 E3 B5 00 46 D6 16 46 19 F6 E0 ..p@U....F..F...
0150 70 68 20 00 03 03 00 09 F1 20 A6 D6 16 46 12 04 ph ...... ...F..
0160 46 56 26 97 44 F0 7A F0 00 00 02 28 10 10 9F 1E FV&.D.z....(....
0170 08 35 30 30 31 30 30 34 38 30 30 30 30 30 30 30 .500100480000000
0180 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0190 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01c0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01d0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01e0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
01f0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0200 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0210 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0220 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0230 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0240 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0250 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0260 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0270 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0280 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0290 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02c0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02d0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02e0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
02f0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0300 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0310 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0320 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0330 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0340 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0350 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0360 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0370 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0380 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0390 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03c0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03d0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03e0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
03f0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0400 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0410 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0420 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0430 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0440 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0450 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0460 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0470 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0480 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
0490 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
04a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
04b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
04c0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
04d0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000
04e0 30 30 30 30 30 30 30 30 30 30 30 30 30 31 31 30 0000000000000110
04f0 32 32 30 33 30 30 34 31 30 35 30 34 30 30 35 30 2203004105040050
0500 30 37 4E 30 30 30 30 30 30 45 30 30 30 30 30 30 07N000000E000000
0510 30 30 39 30 31 30 30 30 30 30 30 30 30 30 30 31 0090100000000001
0520 31 30 30 30 30 30 30 30 30 30 31 32 31 30 33 34 1000000000121034
0530 31 38 30 30 30 31 33 31 30 33 34 31 39 30 30 30 1800013103419000
0540 31 34 31 33 34 38 31 30 33 34 30 30 31 35 31 35 1413481034001515
0550 30 36 30 30 30 39 31 36 30 31 30 31 30 31 30 32 0600091601010102
0560 32 42 34 39 31 31 37 42 46 46 46 46 46 46 46 46 2B49117BFFFFFFFF
-->
有人能告诉我们我的请求有什么问题吗。我们正在通过的标题是这样的-6000376D25传递消息的长度是强制性的吗?如果十六进制转储的开头是强制性的,如何传递消息长度?
看起来你在发送一些非常奇怪的东西。
- 要与GenericPackager一起使用的XML文件格式不正确,请参阅JavaDoc以获得正确的格式
- 您的消息以
3132
开头,这是一种保留,因此无法使用
因此,您使用的插件与您的需求不兼容,或者您使用了错误的配置。不幸的是,在不了解另一端的设置细节的情况下,我们无法提供进一步的帮助,如果有一位Java开发人员了解POS,你可以让他或她看看两端都出了什么问题,那么你可能需要在JSR223 Sampler中创建发送POS消息的代码,或者如果由于某种原因无法使用当前实现,则编写自己的插件。