Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreantwuh2018-06-29 15:09:56 +0000
committereantwuh2018-06-29 15:09:56 +0000
commit70c16648a7f11b1926f05917acb2d910ae5930bb (patch)
tree7c1e87816edfcfdc2ae3c1a7bfcdb3fbf324f710
parente4ff8ebdf8031b796d2c33d7c066c107793aba78 (diff)
downloadtitan.Applications.IoT_Functiontest_Framework-70c16648a7f11b1926f05917acb2d910ae5930bb.tar.gz
titan.Applications.IoT_Functiontest_Framework-70c16648a7f11b1926f05917acb2d910ae5930bb.tar.xz
titan.Applications.IoT_Functiontest_Framework-70c16648a7f11b1926f05917acb2d910ae5930bb.zip
HTTP_Client bugfixes
Signed-off-by: eantwuh <antal.wu-hen-chang@ericsson.com>
-rw-r--r--IFW_HTTP_Client_Functions.ttcn6
-rw-r--r--tests/LeshanTestSuite.ttcn2
2 files changed, 6 insertions, 2 deletions
diff --git a/IFW_HTTP_Client_Functions.ttcn b/IFW_HTTP_Client_Functions.ttcn
index 2034120..bce5baf 100644
--- a/IFW_HTTP_Client_Functions.ttcn
+++ b/IFW_HTTP_Client_Functions.ttcn
@@ -22,6 +22,8 @@ module IFW_HTTP_Client_Functions
import from IPL4asp_PortType all;
import from IFW_Common all;
import from TCCMessageHandling_Functions all;
+import from HTTPmsg_MessageLen all;
+
modulepar
{
@@ -163,7 +165,9 @@ module IFW_HTTP_Client_Functions
function f_HTTP_Client_getMessageLength(in octetstring stream, inout ro_integer args)
return integer
{
- return f_TCCMessageHandling_getMessageLength(stream)
+// return f_TCCMessageHandling_getMessageLength(stream)
+return f_HTTPMessage_len(stream);
+
}
function f_HTTP_lookupHeader(charstring p_headerName, in HeaderLines p_headers)
diff --git a/tests/LeshanTestSuite.ttcn b/tests/LeshanTestSuite.ttcn
index fe3470b..4ea6ae9 100644
--- a/tests/LeshanTestSuite.ttcn
+++ b/tests/LeshanTestSuite.ttcn
@@ -187,7 +187,7 @@ module LeshanTestSuite
request :=
{
client_id := omit,
- method := "GET",
+ method := p_method,
uri := p_uri,
version_major := 1,
version_minor := 1,

Back to the top