unknownTagNumberException 9F6E

154 views
Skip to first unread message

Chandhiramouli P

unread,
Aug 23, 2023, 10:58:50 AM8/23/23
to jPOS Users

We are using JMeter to sending ISO8583 messages to a switch.

How to pass 9f6e tag in D55 field?

We're encountering an issue while sending the 9F6E tag in the D55 field. When we attempt to send the 9F6E, we receive the following error in JMeter.

org.jpos.ISOException: error packing filed 55 (org. jpos. iso. ISOException: org. jpos. emv. unknownTagNumberException: 9f6e(org. jpos. emv. UnknownTagNumberException: 9f6e.


The XML packager setup.

<isofieldpackager id="55" name="EMV DATA" length="240" class="org.jpos.iso.IFB_LLLBINARY" packager="org.jpos.iso.packager.GenericSubFieldPackager" pad="false" emitBitmap="false">
<isofieldpackager id="1" name="EMV DATA" length="155" class="org.jpos.iso.IFB_BINARY" pad="true" packager="org.jpos.tlv.packager.bertlv.BERTLVBinaryPackager" emitBitmap="false"/>
</isofieldpackager>

 

I'm looking for guidance on how to properly include the 9F6E tag within the D55 field. Could you provide assistance with this matter?


Regards

Chandhiramouli

Mark Salter

unread,
Aug 23, 2023, 3:52:07 PM8/23/23
to jpos-...@googlegroups.com

On 23/08/2023 15:58, Chandhiramouli P wrote:
>
> We are using JMeter to sending ISO8583 messages to a switch.
>
> How to pass 9f6e tag in D55 field?
>
> We're encountering an issue while sending the 9F6E tag in the D55
> field. When we attempt to send the 9F6E, we receive the following
> error in JMeter.
>
> org.jpos.ISOException: error packing filed 55 (org. jpos. iso.
> ISOException: org. jpos. emv. unknownTagNumberException: 9f6e(org.
> jpos. emv. UnknownTagNumberException: 9f6e.
>
I think you are not copy/pasting, it might help if you can.

You haven't share how you are setting the field value - that would help
to know.

Take a look in
jpos/src/test/java/org/jpos/tlv/packager/bertlv/BERTLVPackagerTest.java
for examples?


--

Mark

signature.asc

Chandhiramouli P

unread,
Aug 24, 2023, 4:29:10 AM8/24/23
to jPOS Users
I'm couldn't copy and paste the content so attached the screenshot.


Screenshot 2023-08-24 131756.png

Please refer the below image for JMeter configuration in D55 tags.

Screenshot 2023-08-24 135428.png

XML Packager

Screenshot 2023-08-24 135633.png

Regards,
Chandhiramouli
Message has been deleted

Mark Salter

unread,
Aug 24, 2023, 7:05:37 PM8/24/23
to jpos-...@googlegroups.com

On 24/08/2023 09:29, Chandhiramouli P wrote:
> I'm couldn't copy and paste the content so attached the screenshot.

Ok, you should be easily able to get just the text - from the image if
you need to - save us needing to.

>
> Please refer the below image for JMeter configuration in D55 tags.
>
That doesn't answer my question, what does the source code look like
that is setting the field please?

Did you look at the text examples for how it should look?

What definitions are present in
jpos/src/main/java/org/jpos/emv/EMVStandardTagType.java  in your repo?


--

Mark

signature.asc

Chandhiramouli P

unread,
Aug 28, 2023, 8:23:13 AM8/28/23
to jPOS Users
Thanks Mark, above mentioned file.

I'm manually added the EMV tag 9F6E to the EMVStandardTagType.java file in the JPOS source code. After making this modification, I'm rebuilt the JPOS. By using the newly generated JPOS JAR file to successfully parse the 9F6E tag in JMeter. 

Regards,
Chandhiramouli

Alejandro Revilla

unread,
Aug 29, 2023, 9:42:00 PM8/29/23
to jpos-...@googlegroups.com
If you want your change to survive future versions, you may want to send a pull request (or just share the diff here and we can add it).



--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/2901d1b8-0304-4215-96fe-dcf54d3fbc5dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages