Generated by TestNG with ReportNG at 22:31 PDT on Tuesday 14 June 2022
root@1bc69cf4cb94 / 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.806s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.665s
2022-06-14 22:46:18 |

2022-06-14 22:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-14 22:46:18 | ------------------------------------

2022-06-14 22:46:18 | [Mutex] isItemNotified: node_l1is1w0204:exists :: false

2022-06-14 22:46:18 | [Mutex] waiting for: [node_l1is1w0204:create_node]

2022-06-14 22:46:18 | [Mutex] received everything.

2022-06-14 22:46:18 | [Mutex] isItemNotified: node_l1is1w0204:create_node:success :: true

2022-06-14 22:46:18 | [Mutex] waiting for: [node_l1is1w0204:subscribe_node]

2022-06-14 22:46:18 | [Mutex] received everything.

2022-06-14 22:46:18 | [Mutex] isItemNotified: node_l1is1w0204:subscribe_node:success :: true

2022-06-14 22:46:18 |


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


2022-06-14 22:46:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-14 22:46:18 | command: <data><node>node_l1is1w0204</node><entry><content>content_5q16ea0205</content></entry></data>

2022-06-14 22:46:18 | target: http://localhost:8088

2022-06-14 22:46:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-14 22:46:18 | entity: <data><node>node_l1is1w0204</node><entry><content>content_5q16ea0205</content></entry></data>

2022-06-14 22:46:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:46:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-14 22:46:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06faf836-7ca4-42e3-8825-59a96b806336</value></item-id></result>

2022-06-14 22:46:18 | contains: true

2022-06-14 22:46:18 | [Mutex] waiting for: [user_regularbbzibz0203@test-domain.com:message:received:content_5q16ea0205]

2022-06-14 22:46:18 | [Mutex] received everything.

2022-06-14 22:46:18 | [Mutex] isItemNotified: user_regularbbzibz0203@test-domain.com:message:received:content_5q16ea0205 :: true

2022-06-14 22:46:18 |


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


2022-06-14 22:46:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-14 22:46:18 | command: <data><node>node_l1is1w0204</node><expire-at>2022-06-15T05:46:13Z</expire-at><entry><content>content_ggmv6o0206</content></entry></data>

2022-06-14 22:46:18 | target: http://localhost:8088

2022-06-14 22:46:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-14 22:46:18 | entity: <data><node>node_l1is1w0204</node><expire-at>2022-06-15T05:46:13Z</expire-at><entry><content>content_ggmv6o0206</content></entry></data>

2022-06-14 22:46:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:46:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-14 22:46:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2eeed6c-1b8f-4a77-b2f0-53b487de0bfa</value></item-id></result>

2022-06-14 22:46:18 | contains: true

2022-06-14 22:46:18 | [Mutex] waiting for: [user_regularbbzibz0203@test-domain.com:message:received:content_ggmv6o0206]

2022-06-14 22:46:33 | [Mutex] timeout. Not received [user_regularbbzibz0203@test-domain.com:message:received:content_ggmv6o0206]

2022-06-14 22:46:33 | [Mutex] isItemNotified: user_regularbbzibz0203@test-domain.com:message:received:content_ggmv6o0206 :: false

2022-06-14 22:46:33 |


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


2022-06-14 22:46:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-14 22:46:33 | command: <data><node>node_l1is1w0204</node><entry><content>content_elgbl10207</content></entry></data>

2022-06-14 22:46:33 | target: http://localhost:8088

2022-06-14 22:46:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-14 22:46:33 | entity: <data><node>node_l1is1w0204</node><entry><content>content_elgbl10207</content></entry></data>

2022-06-14 22:46:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:46:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-14 22:46:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4dd7790a-77b4-4c8f-a177-5be10c714f88</value></item-id></result>

2022-06-14 22:46:34 | contains: true

2022-06-14 22:46:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-14 22:46:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-14 22:46:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-14 22:46:39 | [Mutex] waiting for: [user_regularbbzibz0203@test-domain.com:message:received:content_elgbl10207]

2022-06-14 22:46:39 | [Mutex] received everything.

2022-06-14 22:46:39 | [Mutex] isItemNotified: user_regularbbzibz0203@test-domain.com:message:received:content_elgbl10207 :: true

2022-06-14 22:46:39 |


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


2022-06-14 22:46:39 | [Mutex] received everything.

2022-06-14 22:46:39 | [Mutex] isItemNotified: node_l1is1w0204:subscribe_node:success :: true

2022-06-14 22:46:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-14 22:46:39 | command: <data><node>node_l1is1w0204</node><expire-at>2022-06-15T05:46:44Z</expire-at><entry><content>content_wtl1140208</content></entry></data>

2022-06-14 22:46:39 | target: http://localhost:8088

2022-06-14 22:46:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-14 22:46:39 | entity: <data><node>node_l1is1w0204</node><expire-at>2022-06-15T05:46:44Z</expire-at><entry><content>content_wtl1140208</content></entry></data>

2022-06-14 22:46:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:46:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-14 22:46:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3134398f-ef53-4e08-9d5e-8ad380e080dd</value></item-id></result>

2022-06-14 22:46:39 | contains: true

2022-06-14 22:46:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-14 22:46:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-14 22:46:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-14 22:46:47 | [Mutex] waiting for: [user_regularbbzibz0203@test-domain.com:message:received:content_wtl1140208]

2022-06-14 22:47:02 | [Mutex] timeout. Not received [user_regularbbzibz0203@test-domain.com:message:received:content_wtl1140208]

2022-06-14 22:47:02 | [Mutex] received everything.

2022-06-14 22:47:02 | [Mutex] isItemNotified: user_regularbbzibz0203@test-domain.com:message:received:content_wtl1140208 :: false

2022-06-14 22:47:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wtl1140208 :: true