Generated by TestNG with ReportNG at 22:29 PDT on Friday 09 October 2020
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.250s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.787s
2020-10-09 22:46:24 |

2020-10-09 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-09 22:46:24 | ------------------------------------

2020-10-09 22:46:24 | [Mutex] isItemNotified: node_b3xsor0203:exists :: false

2020-10-09 22:46:24 | [Mutex] waiting for: [node_b3xsor0203:create_node]

2020-10-09 22:46:24 | [Mutex] received everything.

2020-10-09 22:46:24 | [Mutex] isItemNotified: node_b3xsor0203:create_node:success :: true

2020-10-09 22:46:24 | [Mutex] waiting for: [node_b3xsor0203:subscribe_node]

2020-10-09 22:46:24 | [Mutex] received everything.

2020-10-09 22:46:24 | [Mutex] isItemNotified: node_b3xsor0203:subscribe_node:success :: true

2020-10-09 22:46:24 |


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


2020-10-09 22:46:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 22:46:24 | command: <data><node>node_b3xsor0203</node><entry><content>content_knfouq0204</content></entry></data>

2020-10-09 22:46:24 | target: http://localhost:8088

2020-10-09 22:46:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-09 22:46:24 | entity: <data><node>node_b3xsor0203</node><entry><content>content_knfouq0204</content></entry></data>

2020-10-09 22:46:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:46:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 22:46:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d608aaa-9907-4e29-90e6-a3655ae7cc5e</value></item-id></result>

2020-10-09 22:46:24 | contains: true

2020-10-09 22:46:24 | [Mutex] received everything.

2020-10-09 22:46:24 | [Mutex] isItemNotified: user_regular5kewvr0202@test-domain.com:message:received:content_knfouq0204 :: true

2020-10-09 22:46:24 |


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


2020-10-09 22:46:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 22:46:24 | command: <data><node>node_b3xsor0203</node><expire-at>2020-10-10T05:46:19Z</expire-at><entry><content>content_y9jhjt0205</content></entry></data>

2020-10-09 22:46:24 | target: http://localhost:8088

2020-10-09 22:46:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 22:46:24 | entity: <data><node>node_b3xsor0203</node><expire-at>2020-10-10T05:46:19Z</expire-at><entry><content>content_y9jhjt0205</content></entry></data>

2020-10-09 22:46:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:46:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 22:46:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ded4281a-9481-4cfd-a6c1-c47726d46926</value></item-id></result>

2020-10-09 22:46:24 | contains: true

2020-10-09 22:46:24 | [Mutex] waiting for: [user_regular5kewvr0202@test-domain.com:message:received:content_y9jhjt0205]

2020-10-09 22:46:39 | [Mutex] timeout. Not received [user_regular5kewvr0202@test-domain.com:message:received:content_y9jhjt0205]

2020-10-09 22:46:39 | [Mutex] isItemNotified: user_regular5kewvr0202@test-domain.com:message:received:content_y9jhjt0205 :: false

2020-10-09 22:46:39 |


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


2020-10-09 22:46:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 22:46:39 | command: <data><node>node_b3xsor0203</node><entry><content>content_ath7i80206</content></entry></data>

2020-10-09 22:46:39 | target: http://localhost:8088

2020-10-09 22:46:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-09 22:46:39 | entity: <data><node>node_b3xsor0203</node><entry><content>content_ath7i80206</content></entry></data>

2020-10-09 22:46:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:46:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 22:46:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>24a83fdb-cf0f-401b-9cd8-c13eaff090a8</value></item-id></result>

2020-10-09 22:46:39 | contains: true

2020-10-09 22:46:44 | [Mutex] waiting for: [user_regular5kewvr0202@test-domain.com:message:received:content_ath7i80206]

2020-10-09 22:46:44 | [Mutex] waiting for: [user_regular5kewvr0202@test-domain.com:message:received:content_ath7i80206]

2020-10-09 22:46:44 | [Mutex] received everything.

2020-10-09 22:46:44 | [Mutex] isItemNotified: user_regular5kewvr0202@test-domain.com:message:received:content_ath7i80206 :: true

2020-10-09 22:46:44 |


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


2020-10-09 22:46:44 | [Mutex] received everything.

2020-10-09 22:46:44 | [Mutex] isItemNotified: node_b3xsor0203:subscribe_node:success :: true

2020-10-09 22:46:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 22:46:44 | command: <data><node>node_b3xsor0203</node><expire-at>2020-10-10T05:46:49Z</expire-at><entry><content>content_ca8rgb0207</content></entry></data>

2020-10-09 22:46:44 | target: http://localhost:8088

2020-10-09 22:46:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 22:46:44 | entity: <data><node>node_b3xsor0203</node><expire-at>2020-10-10T05:46:49Z</expire-at><entry><content>content_ca8rgb0207</content></entry></data>

2020-10-09 22:46:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:46:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 22:46:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c8438ea-4d7e-4adc-ab1a-92ae81c58148</value></item-id></result>

2020-10-09 22:46:44 | contains: true

2020-10-09 22:46:53 | [Mutex] waiting for: [user_regular5kewvr0202@test-domain.com:message:received:content_ca8rgb0207]

2020-10-09 22:47:08 | [Mutex] timeout. Not received [user_regular5kewvr0202@test-domain.com:message:received:content_ca8rgb0207]

2020-10-09 22:47:08 | [Mutex] received everything.

2020-10-09 22:47:08 | [Mutex] isItemNotified: user_regular5kewvr0202@test-domain.com:message:received:content_ca8rgb0207 :: false

2020-10-09 22:47:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ca8rgb0207 :: true