Can't match request/reply on MTI 1460 / 1480 with only field 12 in common #60
Replies: 5 comments 1 reply
-
I can't immediately find anything wrong. Would you mind posting the parts of the logs that show the XML deployment descriptors, just to double check your configuration? |
Beta Was this translation helpful? Give feedback.
-
Here are the requested logs :
Thank you for your help |
Beta Was this translation helpful? Give feedback.
-
This all looks quite alright to me, though I'm not really a jPOS expert. |
Beta Was this translation helpful? Give feedback.
-
https://groups.google.com/g/jpos-users/c/uSYPjJaorQQ/m/YIcaa8jnBAAJ Try using 0022446769 in third index of mti mapping.
-chhil |
Beta Was this translation helpful? Give feedback.
-
I think the issue is due to how jPOS distinguishes requests and responses, by whether the third MTI digit is odd or even: https://github.com/jpos/jPOS/blob/v2_1_6/jpos/src/main/java/org/jpos/iso/ISOMsg.java#L953-L955
Therefore your response with MTI 1480 gets "stuck" in the QMUX because it is considered a request. Refer:
Work-around may be to set the QMUX config flag "return-rejects" to true, however, this is not currently exposed by the JMeter plugin unfortunately. Try the following:
|
Beta Was this translation helpful? Give feedback.
-
Dear @tilln,
I still have timeout issue, and can't find how to fix it, tried multiple things...
Here are the logs, with request en unpacked reply :
2022-12-29 17:25:16,052 DEBUG o.a.j.t.TestBeanHelper: Setting fields=[DE0=1460, DE4=000000000500, DE12=221117162710, DE24=100, DE48=58000002000000003031313431333336333136323531353030343030, DE49=978, DE53=00, DE124=0FC008080800000061306534383337632D303830322D343932632D383033352D66626530353361373464623134313766333531652D636366362D343662342D613161622D6662333861343736643438333230323230383138303832343030303030303030303030333530555020434B444F2020202020202020202020202020202020202020202020202020202020202020203230313061626161326435332D613530622D346639322D386338652D346233383738653963373232] 2022-12-29 17:25:16,052 DEBUG o.a.j.t.TestBeanHelper: Setting timeout=5000 2022-12-29 17:25:16,052 DEBUG o.a.j.t.TestBeanHelper: Setting responseCodeField=39 2022-12-29 17:25:16,053 DEBUG o.a.j.t.TestBeanHelper: Setting successResponseCode=000 2022-12-29 17:25:16,053 DEBUG o.a.j.t.p.AbstractProperty: Running version, executing function 2022-12-29 17:25:16,053 DEBUG n.c.b.j.i.ISO8583Sampler: sampleStart 2022-12-29 17:25:16,095 DEBUG n.c.b.j.i.Q2: (channel/XXXXX) [connect] Try 0 XXXX 2022-12-29 17:25:16,095 DEBUG n.c.b.j.i.Q2: (packager) [pack] 3134363090100100000188000000000000000010303030303030303030353030323231313137313632373130313030303238580000020000000030313134313333363331363235313530303430303937383031003138360FC008080800000061306534383337632D303830322D343932632D383033352D66626530353361373464623134313766333531652D636366362D343662342D613161622D6662333861343736643438333230323230383138303832343030303030303030303030333530555020434B444F2020202020202020202020202020202020202020202020202020202020202020203230313061626161326435332D613530622D346639322D386338652D346233383738653963373232 2022-12-29 17:25:16,095 DEBUG n.c.b.j.i.Q2: (channel/XXXXXX) [send] Out: 1460 2022-12-29 17:25:16,181 DEBUG o.a.j.v.ViewResultsFullVisualizer: Expanded: [[Root]] 2022-12-29 17:25:16,181 DEBUG o.a.j.v.ViewResultsFullVisualizer: Elements: [Root] 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] 3134383000100000020100003232313131373136323731303030303033381400000000000000313431333336333136323531363030353230323231323239313732353136 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <bitmap>{12, 39, 48}</bitmap> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <unpack fld="12" packager="org.jpos.iso.IFA_NUMERIC"> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <value>221117162710</value> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] </unpack> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <unpack fld="39" packager="org.jpos.iso.IFA_NUMERIC"> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <value>000</value> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] </unpack> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <unpack fld="48" packager="org.jpos.iso.IFA_LLLBINARY"> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] <value type='binary'>1400000000000000313431333336333136323531363030353230323231323239313732353136</value> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (packager) [unpack] </unpack> 2022-12-29 17:25:16,237 DEBUG n.c.b.j.i.Q2: (channel/XXXXX) [receive] In: 1480
But I get a timeout, which seems to come from a request reply matching, so here is my configuration :
MTI MAPPING : "0123456789 0123456789 0022446769"
Mux Key configuration :
empty MTI : 12
Also tried to add :
1460 : 12
1480 : 12
But still, I have timeouts, what am I doing wrong please?
Beta Was this translation helpful? Give feedback.
All reactions