Generated by TestNG with ReportNG at 15:45 PDT on Friday 25 September 2020
root@a2ca0c7e65bb / 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.593s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2020-09-25 16:01:52 |

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

2020-09-25 16:01:52 | ------------------------------------

2020-09-25 16:01:52 | [Mutex] isItemNotified: node_w8prw00203:exists :: false

2020-09-25 16:01:52 | [Mutex] waiting for: [node_w8prw00203:create_node]

2020-09-25 16:01:52 | [Mutex] received everything.

2020-09-25 16:01:52 | [Mutex] isItemNotified: node_w8prw00203:create_node:success :: true

2020-09-25 16:01:53 | [Mutex] waiting for: [node_w8prw00203:subscribe_node]

2020-09-25 16:01:53 | [Mutex] waiting for: [node_w8prw00203:subscribe_node]

2020-09-25 16:01:53 | [Mutex] received everything.

2020-09-25 16:01:53 | [Mutex] isItemNotified: node_w8prw00203:subscribe_node:success :: true

2020-09-25 16:01:53 |


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


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

2020-09-25 16:01:53 | command: <data><node>node_w8prw00203</node><entry><content>content_l4k8m30204</content></entry></data>

2020-09-25 16:01:53 | target: http://localhost:8088

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

2020-09-25 16:01:53 | entity: <data><node>node_w8prw00203</node><entry><content>content_l4k8m30204</content></entry></data>

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

2020-09-25 16:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f8a1e7c-a15e-450f-b0a7-7a620c62b51c</value></item-id></result>

2020-09-25 16:01:53 | contains: true

2020-09-25 16:01:53 | [Mutex] received everything.

2020-09-25 16:01:53 | [Mutex] isItemNotified: user_regular6i53ee0202@test-domain.com:message:received:content_l4k8m30204 :: true

2020-09-25 16:01:53 |


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


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

2020-09-25 16:01:53 | command: <data><node>node_w8prw00203</node><expire-at>2020-09-25T23:01:48Z</expire-at><entry><content>content_dcba8x0205</content></entry></data>

2020-09-25 16:01:53 | target: http://localhost:8088

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

2020-09-25 16:01:53 | entity: <data><node>node_w8prw00203</node><expire-at>2020-09-25T23:01:48Z</expire-at><entry><content>content_dcba8x0205</content></entry></data>

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

2020-09-25 16:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4023f4ed-8610-40c4-a91f-f1c231a2dac5</value></item-id></result>

2020-09-25 16:01:53 | contains: true

2020-09-25 16:01:53 | [Mutex] waiting for: [user_regular6i53ee0202@test-domain.com:message:received:content_dcba8x0205]

2020-09-25 16:02:08 | [Mutex] timeout. Not received [user_regular6i53ee0202@test-domain.com:message:received:content_dcba8x0205]

2020-09-25 16:02:08 | [Mutex] isItemNotified: user_regular6i53ee0202@test-domain.com:message:received:content_dcba8x0205 :: false

2020-09-25 16:02:08 |


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


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

2020-09-25 16:02:08 | command: <data><node>node_w8prw00203</node><entry><content>content_9qcp6o0206</content></entry></data>

2020-09-25 16:02:08 | target: http://localhost:8088

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

2020-09-25 16:02:08 | entity: <data><node>node_w8prw00203</node><entry><content>content_9qcp6o0206</content></entry></data>

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

2020-09-25 16:02:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8eb081d8-b49e-4f8b-bd90-b873199acaf8</value></item-id></result>

2020-09-25 16:02:08 | contains: true

2020-09-25 16:02:13 | [Mutex] waiting for: [user_regular6i53ee0202@test-domain.com:message:received:content_9qcp6o0206]

2020-09-25 16:02:13 | [Mutex] received everything.

2020-09-25 16:02:13 | [Mutex] isItemNotified: user_regular6i53ee0202@test-domain.com:message:received:content_9qcp6o0206 :: true

2020-09-25 16:02:13 |


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


2020-09-25 16:02:13 | [Mutex] received everything.

2020-09-25 16:02:13 | [Mutex] isItemNotified: node_w8prw00203:subscribe_node:success :: true

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

2020-09-25 16:02:13 | command: <data><node>node_w8prw00203</node><expire-at>2020-09-25T23:02:18Z</expire-at><entry><content>content_vdyldy0207</content></entry></data>

2020-09-25 16:02:13 | target: http://localhost:8088

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

2020-09-25 16:02:13 | entity: <data><node>node_w8prw00203</node><expire-at>2020-09-25T23:02:18Z</expire-at><entry><content>content_vdyldy0207</content></entry></data>

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

2020-09-25 16:02:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>00c6c0c2-a77b-44a3-a435-70153e24cee1</value></item-id></result>

2020-09-25 16:02:13 | contains: true

2020-09-25 16:02:21 | [Mutex] waiting for: [user_regular6i53ee0202@test-domain.com:message:received:content_vdyldy0207]

2020-09-25 16:02:36 | [Mutex] timeout. Not received [user_regular6i53ee0202@test-domain.com:message:received:content_vdyldy0207]

2020-09-25 16:02:36 | [Mutex] received everything.

2020-09-25 16:02:36 | [Mutex] isItemNotified: user_regular6i53ee0202@test-domain.com:message:received:content_vdyldy0207 :: false

2020-09-25 16:02:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vdyldy0207 :: true