Generated by TestNG with ReportNG at 15:56 PDT on Friday 25 September 2020
root@917f04bc4138 / 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.574s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.720s
2020-09-25 16:10:34 |

2020-09-25 16:10:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-25 16:10:34 | ------------------------------------

2020-09-25 16:10:34 | [Mutex] isItemNotified: node_nl58uf0203:exists :: false

2020-09-25 16:10:34 | [Mutex] waiting for: [node_nl58uf0203:create_node]

2020-09-25 16:10:34 | [Mutex] received everything.

2020-09-25 16:10:34 | [Mutex] isItemNotified: node_nl58uf0203:create_node:success :: true

2020-09-25 16:10:34 | [Mutex] waiting for: [node_nl58uf0203:subscribe_node]

2020-09-25 16:10:34 | [Mutex] received everything.

2020-09-25 16:10:34 | [Mutex] isItemNotified: node_nl58uf0203:subscribe_node:success :: true

2020-09-25 16:10:34 |


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


2020-09-25 16:10:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:10:34 | command: <data><node>node_nl58uf0203</node><entry><content>content_yh2nk30204</content></entry></data>

2020-09-25 16:10:34 | target: http://localhost:8088

2020-09-25 16:10:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 16:10:34 | entity: <data><node>node_nl58uf0203</node><entry><content>content_yh2nk30204</content></entry></data>

2020-09-25 16:10:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:10:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:10:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b6dca2d0-8dc8-462b-8084-6ae3366d4654</value></item-id></result>

2020-09-25 16:10:34 | contains: true

2020-09-25 16:10:34 | [Mutex] received everything.

2020-09-25 16:10:34 | [Mutex] isItemNotified: user_regular7bf2t70202@test-domain.com:message:received:content_yh2nk30204 :: true

2020-09-25 16:10:34 |


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


2020-09-25 16:10:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:10:34 | command: <data><node>node_nl58uf0203</node><expire-at>2020-09-25T23:10:29Z</expire-at><entry><content>content_3yrzm60205</content></entry></data>

2020-09-25 16:10:34 | target: http://localhost:8088

2020-09-25 16:10:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 16:10:34 | entity: <data><node>node_nl58uf0203</node><expire-at>2020-09-25T23:10:29Z</expire-at><entry><content>content_3yrzm60205</content></entry></data>

2020-09-25 16:10:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:10:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:10:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95ad5627-ac33-401f-bce0-1540e1419c6e</value></item-id></result>

2020-09-25 16:10:34 | contains: true

2020-09-25 16:10:34 | [Mutex] waiting for: [user_regular7bf2t70202@test-domain.com:message:received:content_3yrzm60205]

2020-09-25 16:10:49 | [Mutex] timeout. Not received [user_regular7bf2t70202@test-domain.com:message:received:content_3yrzm60205]

2020-09-25 16:10:49 | [Mutex] isItemNotified: user_regular7bf2t70202@test-domain.com:message:received:content_3yrzm60205 :: false

2020-09-25 16:10:49 |


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


2020-09-25 16:10:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:10:49 | command: <data><node>node_nl58uf0203</node><entry><content>content_ks4pbj0206</content></entry></data>

2020-09-25 16:10:49 | target: http://localhost:8088

2020-09-25 16:10:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 16:10:49 | entity: <data><node>node_nl58uf0203</node><entry><content>content_ks4pbj0206</content></entry></data>

2020-09-25 16:10:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:10:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:10:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8c7f043d-f4c6-4639-be7c-5ceae4f77f5c</value></item-id></result>

2020-09-25 16:10:49 | contains: true

2020-09-25 16:10:54 | [Mutex] waiting for: [user_regular7bf2t70202@test-domain.com:message:received:content_ks4pbj0206]

2020-09-25 16:10:54 | [Mutex] received everything.

2020-09-25 16:10:54 | [Mutex] isItemNotified: user_regular7bf2t70202@test-domain.com:message:received:content_ks4pbj0206 :: true

2020-09-25 16:10:54 |


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


2020-09-25 16:10:54 | [Mutex] received everything.

2020-09-25 16:10:54 | [Mutex] isItemNotified: node_nl58uf0203:subscribe_node:success :: true

2020-09-25 16:10:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 16:10:54 | command: <data><node>node_nl58uf0203</node><expire-at>2020-09-25T23:10:59Z</expire-at><entry><content>content_7aiasp0207</content></entry></data>

2020-09-25 16:10:54 | target: http://localhost:8088

2020-09-25 16:10:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 16:10:54 | entity: <data><node>node_nl58uf0203</node><expire-at>2020-09-25T23:10:59Z</expire-at><entry><content>content_7aiasp0207</content></entry></data>

2020-09-25 16:10:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:10:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 16:10:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d045eca3-f994-4dc1-9612-f1ed371a8528</value></item-id></result>

2020-09-25 16:10:54 | contains: true

2020-09-25 16:11:03 | [Mutex] waiting for: [user_regular7bf2t70202@test-domain.com:message:received:content_7aiasp0207]

2020-09-25 16:11:18 | [Mutex] timeout. Not received [user_regular7bf2t70202@test-domain.com:message:received:content_7aiasp0207]

2020-09-25 16:11:18 | [Mutex] received everything.

2020-09-25 16:11:18 | [Mutex] isItemNotified: user_regular7bf2t70202@test-domain.com:message:received:content_7aiasp0207 :: false

2020-09-25 16:11:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7aiasp0207 :: true