H.3 HTTP_ASP_TypeDefs

34.229-33GPPInternet Protocol (IP) multimedia call control protocol based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP)Part 3: Abstract test suite (ATS)Release 17TSUser Equipment (UE) conformance specification

H.3.1 HTTP_ASP_Definitions

HttpServerInfo_Type

TTCN-3 Record Type

Name

HttpServerInfo_Type

Comment

serverAddr

IP_AddrInfo_Type

IP address of simulated server

serverPort

PortNumber_Type

Port number of simulated server

drbInfo

IP_DrbInfo_Type

DRB info as used by the IP PTC (LTE model, see TS 36.523-3 [30])

tlsConfig

TLSConfig_Type

opt

TLS parameters as used by the IP PTC (LTE model, see TS 36.523-3 [30])

(omit: no TLS)

HttpServerList_Type

TTCN-3 Record of Type

Name

HttpServerList_Type

Comment

record length (1 .. infinity) of HttpServerInfo_Type

HTTP_CTRL_REQ

TTCN-3 Record Type

Name

HTTP_CTRL_REQ

Comment

ASP type to configure the http layer;

when any of the optional fields is omitted the previous configuration of this field is kept

httpServerList

HttpServerList_Type

opt

IP address and port of simulated HTTP servers

HTTP_CTRL_CNF

TTCN-3 Record Type

Name

HTTP_CTRL_CNF

Comment

ASP type to confirm HTTP_CTRL_REQ

errorInfo

charstring

opt

string indicating a system error

HTTP_DATA_IND

TTCN-3 Record Type

Name

HTTP_DATA_IND

Comment

ASP type for sending a message from the http layer to TTCN;

it transports relevant information of a http Request from the UE to the Tester

routingInfo

IP_Connection_Type

TCP connection from which the request has been received;

=> response shall use the same

httpRequest

HttpRequest_Type

HttpMessageBody

TTCN-3 Union Type

Name

HttpMessageBody

Comment

text

charstring

binary

octetstring

mime

MIME_Message

HttpRequest_Type

TTCN-3 Record Type

Name

HttpRequest_Type

Comment

requestLine

HttpRequestLine_Type

RFC 2616 clause 5.1

userAgent

UserAgent

opt

User Agent according to RFC 2616 [27] clause 14.43

authorization

Authorization

opt

Authorization according to RFC 2616 [27] clause 14.8 (optional; NOTE: Same type definition as for SIP type definitions)

host

Host

opt

host according to RFC 2616 [27] clause 14.23

contentType

ContentType

opt

Content-Type according to RFC 2616 [27] clause 14.17 (optional, NOTE: Same type definition as for SIP type definitions)

cacheControl

HttpCacheControl_Type

opt

RFC 2616 clause 14.9

x3GPPIntendedIdentity

charstring

opt

3GPP TS 24.109 [33] clause G.2

messageBody

HttpMessageBody

opt

e.g. XCAP Message;

HttpResponse_Type

TTCN-3 Record Type

Name

HttpResponse_Type

Comment

statusLine

HttpStatusLine_Type

Status-Line in RFC 2616 [27] clause 6.1

date

Date

opt

Date according to RFC 2616 [27] clause 14.18

eTag

SIP_ETag

opt

ETag according to RFC 2616 [27] clause 14.19

server

Server

opt

Server according to RFC 2616 [27] clause 14.38

wwwauthenticate

WwwAuthenticate

opt

WWW-Authenticate in RFC 2616 [27] clause 14.47 (NOTE: Same type definition as for SIP type definitions)

authenticationInfo

AuthenticationInfo

opt

Authentication-Info in RFC 2617 [37] clause 3.2.3 (NOTE: Same type definition as for SIP type definitions)

contentType

ContentType

opt

Content-Type in RFC 2616 [27] clause 14.17 (NOTE: Same type definition as for SIP type definitions)

location

HttpLocation_Type

opt

RFC 2616 clause 14.30

contentLength

ContentLength

opt

Content-Length in RFC 2616 [27] clause 14.13 (NOTE: Same type definition as for SIP type definitions)

expires

Expires

opt

Expires in RFC 2616 [27] clause 14.21 (NOTE: Same type definition as for SIP type definitions)

cacheControl

HttpCacheControl_Type

opt

Cache-Control in RFC 2616 [27] clause 14.9

pragma

HttpPragma_Type

opt

Pragma in RFC 2616 [27] clause 14.32

messageBody

HttpMessageBody

opt

e.g. XCAP Message;

HTTP_DATA_REQ

TTCN-3 Record Type

Name

HTTP_DATA_REQ

Comment

ASP type for sending messages from TTCN to the http layer;

it transports information needed by the http layer to generate a http Response to the UE

routingInfo

IP_Connection_Type

TCP connection to be used in DL: shall be the same as for corresponding request

httpResponse

HttpResponse_Type

HttpRequestLine_Type

TTCN-3 Record Type

Name

HttpRequestLine_Type

Comment

request line according to RFC 2616 [27] clause 5.1

method

charstring

uri

charstring

XCAP: selection expression, RFC 4825 [26]

version

charstring

HttpStatusLine_Type

TTCN-3 Record Type

Name

HttpStatusLine_Type

Comment

status line according to RFC 2616 [27] clause 5.1

version

charstring

code

integer

reasonPhrase

charstring

HttpCacheControl_Type

TTCN-3 Record Type

Name

HttpCacheControl_Type

Comment

RFC 2616 clause 14.9

cacheDirective

charstring

HttpPragma_Type

TTCN-3 Record Type

Name

HttpPragma_Type

Comment

RFC 2616 clause 14.32

pragmaDirective

charstring

HttpLocation_Type

TTCN-3 Record Type

Name

HttpLocation_Type

Comment

RFC 2616 clause 14.30, see also RFC 3986 section 4.3

uri

charstring

H.3.2 HTTP_Port_Definitions

HTTP_CTRL_PORT

TTCN-3 Port Type

Name

HTTP_CTRL_PORT

Comment

out

HTTP_CTRL_REQ

in

HTTP_CTRL_CNF

HTTP_DATA_PORT

TTCN-3 Port Type

Name

HTTP_DATA_PORT

Comment

in

HTTP_DATA_IND

out

HTTP_DATA_REQ