Generated by TestNG with ReportNG at 22:32 PDT on Monday 14 September 2020
root@01e855a2b68d / 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.221s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2020-09-14 22:57:20 |

2020-09-14 22:57:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-14 22:57:20 | ------------------------------------

2020-09-14 22:57:20 | [Mutex] isItemNotified: node_37frh20203:exists :: false

2020-09-14 22:57:20 | [Mutex] waiting for: [node_37frh20203:create_node]

2020-09-14 22:57:20 | [Mutex] received everything.

2020-09-14 22:57:20 | [Mutex] isItemNotified: node_37frh20203:create_node:success :: true

2020-09-14 22:57:20 | [Mutex] waiting for: [node_37frh20203:subscribe_node]

2020-09-14 22:57:20 | [Mutex] waiting for: [node_37frh20203:subscribe_node]

2020-09-14 22:57:20 | [Mutex] received everything.

2020-09-14 22:57:20 | [Mutex] isItemNotified: node_37frh20203:subscribe_node:success :: true

2020-09-14 22:57:20 |


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


2020-09-14 22:57:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:57:20 | command: <data><node>node_37frh20203</node><entry><content>content_qn6xnn0204</content></entry></data>

2020-09-14 22:57:20 | target: http://localhost:8088

2020-09-14 22:57:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 22:57:20 | entity: <data><node>node_37frh20203</node><entry><content>content_qn6xnn0204</content></entry></data>

2020-09-14 22:57:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:57:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:57:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>631a0753-f79e-4641-b9d8-ae037df064a1</value></item-id></result>

2020-09-14 22:57:20 | contains: true

2020-09-14 22:57:20 | [Mutex] received everything.

2020-09-14 22:57:20 | [Mutex] isItemNotified: user_regularvyvwyd0202@test-domain.com:message:received:content_qn6xnn0204 :: true

2020-09-14 22:57:20 |


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


2020-09-14 22:57:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:57:20 | command: <data><node>node_37frh20203</node><expire-at>2020-09-15T05:57:15Z</expire-at><entry><content>content_1vw2qo0205</content></entry></data>

2020-09-14 22:57:20 | target: http://localhost:8088

2020-09-14 22:57:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:57:20 | entity: <data><node>node_37frh20203</node><expire-at>2020-09-15T05:57:15Z</expire-at><entry><content>content_1vw2qo0205</content></entry></data>

2020-09-14 22:57:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:57:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:57:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>43ef3817-1fd1-4801-9bce-ae64d7212488</value></item-id></result>

2020-09-14 22:57:20 | contains: true

2020-09-14 22:57:20 | [Mutex] waiting for: [user_regularvyvwyd0202@test-domain.com:message:received:content_1vw2qo0205]

2020-09-14 22:57:35 | [Mutex] timeout. Not received [user_regularvyvwyd0202@test-domain.com:message:received:content_1vw2qo0205]

2020-09-14 22:57:35 | [Mutex] isItemNotified: user_regularvyvwyd0202@test-domain.com:message:received:content_1vw2qo0205 :: false

2020-09-14 22:57:35 |


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


2020-09-14 22:57:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:57:35 | command: <data><node>node_37frh20203</node><entry><content>content_11mry0206</content></entry></data>

2020-09-14 22:57:35 | target: http://localhost:8088

2020-09-14 22:57:35 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-14 22:57:35 | entity: <data><node>node_37frh20203</node><entry><content>content_11mry0206</content></entry></data>

2020-09-14 22:57:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:57:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:57:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0766223f-4202-4ff3-920d-f3664dc4368d</value></item-id></result>

2020-09-14 22:57:35 | contains: true

2020-09-14 22:57:41 | [Mutex] waiting for: [user_regularvyvwyd0202@test-domain.com:message:received:content_11mry0206]

2020-09-14 22:57:41 | [Mutex] received everything.

2020-09-14 22:57:41 | [Mutex] isItemNotified: user_regularvyvwyd0202@test-domain.com:message:received:content_11mry0206 :: true

2020-09-14 22:57:41 |


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


2020-09-14 22:57:41 | [Mutex] received everything.

2020-09-14 22:57:41 | [Mutex] isItemNotified: node_37frh20203:subscribe_node:success :: true

2020-09-14 22:57:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:57:41 | command: <data><node>node_37frh20203</node><expire-at>2020-09-15T05:57:46Z</expire-at><entry><content>content_y0ptjq0207</content></entry></data>

2020-09-14 22:57:41 | target: http://localhost:8088

2020-09-14 22:57:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:57:41 | entity: <data><node>node_37frh20203</node><expire-at>2020-09-15T05:57:46Z</expire-at><entry><content>content_y0ptjq0207</content></entry></data>

2020-09-14 22:57:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:57:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:57:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a008b701-8aab-44db-aef2-bcb2303bde2d</value></item-id></result>

2020-09-14 22:57:41 | contains: true

2020-09-14 22:57:49 | [Mutex] waiting for: [user_regularvyvwyd0202@test-domain.com:message:received:content_y0ptjq0207]

2020-09-14 22:57:49 | [Mutex] waiting for: [user_regularvyvwyd0202@test-domain.com:message:received:content_y0ptjq0207]

2020-09-14 22:58:04 | [Mutex] timeout. Not received [user_regularvyvwyd0202@test-domain.com:message:received:content_y0ptjq0207]

2020-09-14 22:58:04 | [Mutex] received everything.

2020-09-14 22:58:04 | [Mutex] isItemNotified: user_regularvyvwyd0202@test-domain.com:message:received:content_y0ptjq0207 :: false

2020-09-14 22:58:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y0ptjq0207 :: true