Generated by TestNG with ReportNG at 23:01 PDT on Wednesday 13 April 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.907s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-04-13 23:16:28 |

2022-04-13 23:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-13 23:16:28 | ------------------------------------

2022-04-13 23:16:28 | [Mutex] isItemNotified: node_c1mn7o0203:exists :: false

2022-04-13 23:16:28 | [Mutex] waiting for: [node_c1mn7o0203:create_node]

2022-04-13 23:16:28 | [Mutex] received everything.

2022-04-13 23:16:28 | [Mutex] isItemNotified: node_c1mn7o0203:create_node:success :: true

2022-04-13 23:16:28 | [Mutex] waiting for: [node_c1mn7o0203:subscribe_node]

2022-04-13 23:16:28 | [Mutex] received everything.

2022-04-13 23:16:28 | [Mutex] isItemNotified: node_c1mn7o0203:subscribe_node:success :: true

2022-04-13 23:16:28 |


===== publishing normal message (to online)


2022-04-13 23:16:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:16:28 | command: <data><node>node_c1mn7o0203</node><entry><content>content_khhhlh0204</content></entry></data>

2022-04-13 23:16:28 | target: http://localhost:8088

2022-04-13 23:16:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 23:16:28 | entity: <data><node>node_c1mn7o0203</node><entry><content>content_khhhlh0204</content></entry></data>

2022-04-13 23:16:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:16:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:16:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ddaeff5-664a-4532-8d93-43d37d45ef07</value></item-id></result>

2022-04-13 23:16:28 | contains: true

2022-04-13 23:16:28 | [Mutex] received everything.

2022-04-13 23:16:28 | [Mutex] isItemNotified: user_regularxrqamg0202@test-domain.com:message:received:content_khhhlh0204 :: true

2022-04-13 23:16:28 |


===== publishing already old message - expecting message being filtered out (to online)


2022-04-13 23:16:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:16:28 | command: <data><node>node_c1mn7o0203</node><expire-at>2022-04-14T06:16:23Z</expire-at><entry><content>content_2grwut0205</content></entry></data>

2022-04-13 23:16:28 | target: http://localhost:8088

2022-04-13 23:16:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 23:16:28 | entity: <data><node>node_c1mn7o0203</node><expire-at>2022-04-14T06:16:23Z</expire-at><entry><content>content_2grwut0205</content></entry></data>

2022-04-13 23:16:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:16:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:16:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a5e45a0-aecf-428f-a7d0-9dfa3b959fa5</value></item-id></result>

2022-04-13 23:16:28 | contains: true

2022-04-13 23:16:28 | [Mutex] waiting for: [user_regularxrqamg0202@test-domain.com:message:received:content_2grwut0205]

2022-04-13 23:16:43 | [Mutex] timeout. Not received [user_regularxrqamg0202@test-domain.com:message:received:content_2grwut0205]

2022-04-13 23:16:43 | [Mutex] isItemNotified: user_regularxrqamg0202@test-domain.com:message:received:content_2grwut0205 :: false

2022-04-13 23:16:43 |


===== publishing normal message (to offline)


2022-04-13 23:16:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:16:43 | command: <data><node>node_c1mn7o0203</node><entry><content>content_ff9ddb0206</content></entry></data>

2022-04-13 23:16:43 | target: http://localhost:8088

2022-04-13 23:16:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 23:16:43 | entity: <data><node>node_c1mn7o0203</node><entry><content>content_ff9ddb0206</content></entry></data>

2022-04-13 23:16:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:16:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:16:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f9cd461d-f6ea-4fae-b905-de348c486db7</value></item-id></result>

2022-04-13 23:16:43 | contains: true

2022-04-13 23:16:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 23:16:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 23:16:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 23:16:48 | [Mutex] waiting for: [user_regularxrqamg0202@test-domain.com:message:received:content_ff9ddb0206]

2022-04-13 23:16:48 | [Mutex] received everything.

2022-04-13 23:16:48 | [Mutex] isItemNotified: user_regularxrqamg0202@test-domain.com:message:received:content_ff9ddb0206 :: true

2022-04-13 23:16:48 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-04-13 23:16:48 | [Mutex] received everything.

2022-04-13 23:16:48 | [Mutex] isItemNotified: node_c1mn7o0203:subscribe_node:success :: true

2022-04-13 23:16:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:16:48 | command: <data><node>node_c1mn7o0203</node><expire-at>2022-04-14T06:16:53Z</expire-at><entry><content>content_wfrp4f0207</content></entry></data>

2022-04-13 23:16:48 | target: http://localhost:8088

2022-04-13 23:16:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 23:16:48 | entity: <data><node>node_c1mn7o0203</node><expire-at>2022-04-14T06:16:53Z</expire-at><entry><content>content_wfrp4f0207</content></entry></data>

2022-04-13 23:16:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:16:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:16:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a60c2664-2ed1-4ad5-bb41-2fb4307050a4</value></item-id></result>

2022-04-13 23:16:48 | contains: true

2022-04-13 23:16:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 23:16:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 23:16:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 23:16:57 | [Mutex] waiting for: [user_regularxrqamg0202@test-domain.com:message:received:content_wfrp4f0207]

2022-04-13 23:17:12 | [Mutex] timeout. Not received [user_regularxrqamg0202@test-domain.com:message:received:content_wfrp4f0207]

2022-04-13 23:17:12 | [Mutex] received everything.

2022-04-13 23:17:12 | [Mutex] isItemNotified: user_regularxrqamg0202@test-domain.com:message:received:content_wfrp4f0207 :: false

2022-04-13 23:17:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wfrp4f0207 :: true