Troubleshooting
Problem
A defect was introduced into Rational Performance Tester (RPT) version 10.2.3. POST and DELETE requests with a "Content-Length: 0" header are not handled properly by the playback engine.
This has been fixed in the very next release (version 10.5) and beyond.
Symptom
The following stack trace will appear in the Test Log after playing back:
Explanation: java.lang.NullPointerException
java.lang.NullPointerException
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.writeRequestBody(HTTPAction.java:2616)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.writeRequestState(HTTPAction.java:2372)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.sendRequestState_writeChannelControl(HTTPAction.java:2361)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.sendRequestState(HTTPAction.java:2096)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleConnect_http(HTTPAction.java:1467)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleConnect(HTTPAction.java:1094)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleHandshakeComplete(HTTPAction.java:1068)
at com.ibm.rational.test.lt.kernel.io.impl.KChannel.finishHandshake(KChannel.java:332)
at com.ibm.rational.test.lt.kernel.io.impl.KChannel.executeAction(KChannel.java:258)
at com.ibm.rational.test.lt.kernel.action.impl.KAction.run(KAction.java:2115)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:823)
java.lang.NullPointerException
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.writeRequestBody(HTTPAction.java:2616)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.writeRequestState(HTTPAction.java:2372)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.sendRequestState_writeChannelControl(HTTPAction.java:2361)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.sendRequestState(HTTPAction.java:2096)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleConnect_http(HTTPAction.java:1467)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleConnect(HTTPAction.java:1094)
at com.ibm.rational.test.lt.execution.http.impl.HTTPAction.handleHandshakeComplete(HTTPAction.java:1068)
at com.ibm.rational.test.lt.kernel.io.impl.KChannel.finishHandshake(KChannel.java:332)
at com.ibm.rational.test.lt.kernel.io.impl.KChannel.executeAction(KChannel.java:258)
at com.ibm.rational.test.lt.kernel.action.impl.KAction.run(KAction.java:2115)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:823)
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"ARM Category":[{"code":"a8m0z00000006iUAAQ","label":"Performance Tester-\u003EPlayback"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.3"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
22 January 2024
UID
ibm17108906