apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.42k stars 2.1k forks source link

Observing Error while unpacking response data in Jmeter using ISO8583 plugin #6371

Closed DineshRK91 closed 3 weeks ago

DineshRK91 commented 3 weeks ago

Expected behavior

Jmeter ISO8583 plugin must be able to parse the response data without any issue.

2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (channel/XX.XXX.XX.XX:12345) [receive] --- header --- 2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (channel/XX.XXX.XX.XX:12345) [receive] 0000 16 01 02 00 BD 00 00 00 00 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 ......

BITMAP : 722022810AD08202

2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (channel/XX.XXX.XX.XX:12345) [receive] --- data --- 2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (channel/XX.XXX.XX.XX:12345) [receive] 0000 01 10 72 20 22 81 0A D0 82 02 10 XX XX XX XX XX 0010 XX XX XX 00 00 00 00 00 00 00 12 00 08 21 06 57 0020 20 18 45 66 08 26 00 00 00 06 44 10 03 F4 F2 F2 0030 F1 F0 F6 F1 F8 F3 F9 F8 F8 F1 F9 E3 C5 D9 D4 C9 0040 C4 F0 F1 E2 88 85 93 84 96 95 40 E2 98 A4 81 99 0050 85 40 02 F5 E8 08 26 49 01 00 46 9A 03 08 11 05 0060 9C 01 00 9F 02 06 00 00 00 00 12 00 9F 03 06 00 0070 00 00 00 00 00 9F 10 07 06 09 0A 03 A4 00 00 9F 0080 1A 02 08 26 9F 26 08 01 23 45 67 89 AB CD EF 9F 0090 33 03 E0 E0 E0 9F 36 02 00 FF 9F 37 04 9B AD BC 00a0 AB 05 80 00 00 00 02

2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (org.jpos.q2.iso.ChannelAdaptor) channel-receiver-jmeter-bdc26f30-receive 2024-10-28 04:02:38,592 ERROR n.c.b.j.i.Q2: (org.jpos.q2.iso.ChannelAdaptor) org.jpos.iso.IFB_LLLCHAR: Problem unpacking field 48 (org.jpos.iso.ISOException: Field length 100 too long. Max: 88) unpacking field=48, consumed=88 org.jpos.iso.ISOException: org.jpos.iso.IFB_LLLCHAR: Problem unpacking field 48 (org.jpos.iso.ISOException: Field length 100 too long. Max: 88) unpacking field=48, consumed=88 at org.jpos.iso.ISOBasePackager.unpack(ISOBasePackager.java:341) ~[jpos-2.1.8.jar:2.1.8] at org.jpos.iso.ISOMsg.unpack(ISOMsg.java:479) ~[jpos-2.1.8.jar:2.1.8] at org.jpos.iso.BaseChannel.unpack(BaseChannel.java:978) ~[jpos-2.1.8.jar:2.1.8] at org.jpos.iso.BaseChannel.receive(BaseChannel.java:748) ~[jpos-2.1.8.jar:2.1.8] at org.jpos.q2.iso.ChannelAdaptor$Receiver.run(ChannelAdaptor.java:333) [jpos-2.1.8.jar:2.1.8] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144] 2024-10-28 04:02:48,686 DEBUG n.c.b.j.i.Q2: (channel/10.241.42.73:30151) [connect] Try 0 XX.XXX.XX.XX:12345

Actual behavior

I am able to send request successfully to server and able to get response back as well. When Unpacking fields from response data observing error in the field #48, but when i decode the bitmap field #48 is not present.

Steps to reproduce the problem

XML used:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE isopackager PUBLIC "-//jPOS/jPOS Generic Packager DTD 1.0//EN" "http://jpos.org/dtd/generic-packager-1.0.dtd">

JMeter Version

5.6.3

Java Version

11.0.24

OS Version

Windows 11