Generated by TestNG with ReportNG at 21:42 PST on Sunday 14 February 2021
root@43fec6d4badf / 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.689s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.772s
2021-02-14 21:58:45 |

2021-02-14 21:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-14 21:58:45 | ------------------------------------

2021-02-14 21:58:45 | [Mutex] isItemNotified: node_p24dfw0203:exists :: false

2021-02-14 21:58:46 | [Mutex] waiting for: [node_p24dfw0203:create_node]

2021-02-14 21:58:46 | [Mutex] received everything.

2021-02-14 21:58:46 | [Mutex] isItemNotified: node_p24dfw0203:create_node:success :: true

2021-02-14 21:58:46 | [Mutex] waiting for: [node_p24dfw0203:subscribe_node]

2021-02-14 21:58:46 | [Mutex] waiting for: [node_p24dfw0203:subscribe_node]

2021-02-14 21:58:46 | [Mutex] received everything.

2021-02-14 21:58:46 | [Mutex] isItemNotified: node_p24dfw0203:subscribe_node:success :: true

2021-02-14 21:58:46 |


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


2021-02-14 21:58:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:58:46 | command: <data><node>node_p24dfw0203</node><entry><content>content_tqja210204</content></entry></data>

2021-02-14 21:58:46 | target: http://localhost:8088

2021-02-14 21:58:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:58:46 | entity: <data><node>node_p24dfw0203</node><entry><content>content_tqja210204</content></entry></data>

2021-02-14 21:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:58:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:58:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a00119e5-4918-4272-8ce6-bc664aafa8f5</value></item-id></result>

2021-02-14 21:58:46 | contains: true

2021-02-14 21:58:46 | [Mutex] received everything.

2021-02-14 21:58:46 | [Mutex] isItemNotified: user_regular6s50f70202@test-domain.com:message:received:content_tqja210204 :: true

2021-02-14 21:58:46 |


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


2021-02-14 21:58:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:58:46 | command: <data><node>node_p24dfw0203</node><expire-at>2021-02-15T05:58:41Z</expire-at><entry><content>content_r96a7a0205</content></entry></data>

2021-02-14 21:58:46 | target: http://localhost:8088

2021-02-14 21:58:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:58:46 | entity: <data><node>node_p24dfw0203</node><expire-at>2021-02-15T05:58:41Z</expire-at><entry><content>content_r96a7a0205</content></entry></data>

2021-02-14 21:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:58:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:58:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e8b52240-f4f8-475f-aaeb-56d316e3721a</value></item-id></result>

2021-02-14 21:58:46 | contains: true

2021-02-14 21:58:46 | [Mutex] waiting for: [user_regular6s50f70202@test-domain.com:message:received:content_r96a7a0205]

2021-02-14 21:59:01 | [Mutex] timeout. Not received [user_regular6s50f70202@test-domain.com:message:received:content_r96a7a0205]

2021-02-14 21:59:01 | [Mutex] isItemNotified: user_regular6s50f70202@test-domain.com:message:received:content_r96a7a0205 :: false

2021-02-14 21:59:01 |


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


2021-02-14 21:59:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:59:01 | command: <data><node>node_p24dfw0203</node><entry><content>content_e1mn2o0206</content></entry></data>

2021-02-14 21:59:01 | target: http://localhost:8088

2021-02-14 21:59:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:59:01 | entity: <data><node>node_p24dfw0203</node><entry><content>content_e1mn2o0206</content></entry></data>

2021-02-14 21:59:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:59:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:59:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac1d9651-060f-4887-b669-53d4c0954c18</value></item-id></result>

2021-02-14 21:59:01 | contains: true

2021-02-14 21:59:06 | [Mutex] waiting for: [user_regular6s50f70202@test-domain.com:message:received:content_e1mn2o0206]

2021-02-14 21:59:06 | [Mutex] received everything.

2021-02-14 21:59:06 | [Mutex] isItemNotified: user_regular6s50f70202@test-domain.com:message:received:content_e1mn2o0206 :: true

2021-02-14 21:59:06 |


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


2021-02-14 21:59:06 | [Mutex] received everything.

2021-02-14 21:59:06 | [Mutex] isItemNotified: node_p24dfw0203:subscribe_node:success :: true

2021-02-14 21:59:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:59:06 | command: <data><node>node_p24dfw0203</node><expire-at>2021-02-15T05:59:11Z</expire-at><entry><content>content_qr6q4n0207</content></entry></data>

2021-02-14 21:59:06 | target: http://localhost:8088

2021-02-14 21:59:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:59:06 | entity: <data><node>node_p24dfw0203</node><expire-at>2021-02-15T05:59:11Z</expire-at><entry><content>content_qr6q4n0207</content></entry></data>

2021-02-14 21:59:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:59:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:59:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9dc47803-44ea-4126-833a-54c23cfbdcb6</value></item-id></result>

2021-02-14 21:59:06 | contains: true

2021-02-14 21:59:14 | [Mutex] waiting for: [user_regular6s50f70202@test-domain.com:message:received:content_qr6q4n0207]

2021-02-14 21:59:29 | [Mutex] timeout. Not received [user_regular6s50f70202@test-domain.com:message:received:content_qr6q4n0207]

2021-02-14 21:59:29 | [Mutex] received everything.

2021-02-14 21:59:29 | [Mutex] isItemNotified: user_regular6s50f70202@test-domain.com:message:received:content_qr6q4n0207 :: false

2021-02-14 21:59:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qr6q4n0207 :: true