Generated by TestNG with ReportNG at 22:58 PDT on Thursday 07 October 2021
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / 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 : 45.211s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2021-10-07 23:15:01 |

2021-10-07 23:15:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-07 23:15:01 | ------------------------------------

2021-10-07 23:15:01 | [Mutex] isItemNotified: node_2bx2fu0203:exists :: false

2021-10-07 23:15:01 | [Mutex] waiting for: [node_2bx2fu0203:create_node]

2021-10-07 23:15:01 | [Mutex] received everything.

2021-10-07 23:15:01 | [Mutex] isItemNotified: node_2bx2fu0203:create_node:success :: true

2021-10-07 23:15:01 | [Mutex] waiting for: [node_2bx2fu0203:subscribe_node]

2021-10-07 23:15:01 | [Mutex] waiting for: [node_2bx2fu0203:subscribe_node]

2021-10-07 23:15:01 | [Mutex] received everything.

2021-10-07 23:15:01 | [Mutex] isItemNotified: node_2bx2fu0203:subscribe_node:success :: true

2021-10-07 23:15:01 |


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


2021-10-07 23:15:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-07 23:15:01 | command: <data><node>node_2bx2fu0203</node><entry><content>content_ew7ul20204</content></entry></data>

2021-10-07 23:15:01 | target: http://localhost:8088

2021-10-07 23:15:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-07 23:15:01 | entity: <data><node>node_2bx2fu0203</node><entry><content>content_ew7ul20204</content></entry></data>

2021-10-07 23:15:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 06:15:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-07 23:15:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6cde167-3e13-4512-903e-010741f72532</value></item-id></result>

2021-10-07 23:15:01 | contains: true

2021-10-07 23:15:01 | [Mutex] received everything.

2021-10-07 23:15:01 | [Mutex] isItemNotified: user_regularjqlu0u0202@test-domain.com:message:received:content_ew7ul20204 :: true

2021-10-07 23:15:01 |


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


2021-10-07 23:15:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-07 23:15:01 | command: <data><node>node_2bx2fu0203</node><expire-at>2021-10-08T06:14:56Z</expire-at><entry><content>content_881h1a0205</content></entry></data>

2021-10-07 23:15:01 | target: http://localhost:8088

2021-10-07 23:15:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-07 23:15:01 | entity: <data><node>node_2bx2fu0203</node><expire-at>2021-10-08T06:14:56Z</expire-at><entry><content>content_881h1a0205</content></entry></data>

2021-10-07 23:15:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 06:15:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-07 23:15:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a16da938-60f1-4793-b787-958d7c0ec4d5</value></item-id></result>

2021-10-07 23:15:01 | contains: true

2021-10-07 23:15:01 | [Mutex] waiting for: [user_regularjqlu0u0202@test-domain.com:message:received:content_881h1a0205]

2021-10-07 23:15:16 | [Mutex] timeout. Not received [user_regularjqlu0u0202@test-domain.com:message:received:content_881h1a0205]

2021-10-07 23:15:16 | [Mutex] isItemNotified: user_regularjqlu0u0202@test-domain.com:message:received:content_881h1a0205 :: false

2021-10-07 23:15:16 |


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


2021-10-07 23:15:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-07 23:15:16 | command: <data><node>node_2bx2fu0203</node><entry><content>content_u9gt390206</content></entry></data>

2021-10-07 23:15:16 | target: http://localhost:8088

2021-10-07 23:15:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-07 23:15:16 | entity: <data><node>node_2bx2fu0203</node><entry><content>content_u9gt390206</content></entry></data>

2021-10-07 23:15:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 06:15:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-07 23:15:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd1fa963-0494-4d48-a16c-71a2571dd851</value></item-id></result>

2021-10-07 23:15:16 | contains: true

2021-10-07 23:15:21 | [Mutex] waiting for: [user_regularjqlu0u0202@test-domain.com:message:received:content_u9gt390206]

2021-10-07 23:15:21 | [Mutex] received everything.

2021-10-07 23:15:21 | [Mutex] isItemNotified: user_regularjqlu0u0202@test-domain.com:message:received:content_u9gt390206 :: true

2021-10-07 23:15:21 |


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


2021-10-07 23:15:21 | [Mutex] received everything.

2021-10-07 23:15:21 | [Mutex] isItemNotified: node_2bx2fu0203:subscribe_node:success :: true

2021-10-07 23:15:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-07 23:15:22 | command: <data><node>node_2bx2fu0203</node><expire-at>2021-10-08T06:15:27Z</expire-at><entry><content>content_7mj7om0207</content></entry></data>

2021-10-07 23:15:22 | target: http://localhost:8088

2021-10-07 23:15:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-07 23:15:22 | entity: <data><node>node_2bx2fu0203</node><expire-at>2021-10-08T06:15:27Z</expire-at><entry><content>content_7mj7om0207</content></entry></data>

2021-10-07 23:15:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 06:15:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-07 23:15:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>544ae1a0-0e9c-42de-8ed1-95ac1c6252b6</value></item-id></result>

2021-10-07 23:15:22 | contains: true

2021-10-07 23:15:30 | [Mutex] waiting for: [user_regularjqlu0u0202@test-domain.com:message:received:content_7mj7om0207]

2021-10-07 23:15:45 | [Mutex] timeout. Not received [user_regularjqlu0u0202@test-domain.com:message:received:content_7mj7om0207]

2021-10-07 23:15:45 | [Mutex] received everything.

2021-10-07 23:15:45 | [Mutex] isItemNotified: user_regularjqlu0u0202@test-domain.com:message:received:content_7mj7om0207 :: false

2021-10-07 23:15:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7mj7om0207 :: true