Generated by TestNG with ReportNG at 23:50 PDT on Sunday 13 September 2020
root@bb2e6c1b4ae6 / 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.377s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.809s
2020-09-14 00:07:20 |

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

2020-09-14 00:07:20 | ------------------------------------

2020-09-14 00:07:20 | [Mutex] isItemNotified: node_y6h2cr0203:exists :: false

2020-09-14 00:07:20 | [Mutex] waiting for: [node_y6h2cr0203:create_node]

2020-09-14 00:07:20 | [Mutex] received everything.

2020-09-14 00:07:20 | [Mutex] isItemNotified: node_y6h2cr0203:create_node:success :: true

2020-09-14 00:07:20 | [Mutex] waiting for: [node_y6h2cr0203:subscribe_node]

2020-09-14 00:07:20 | [Mutex] received everything.

2020-09-14 00:07:20 | [Mutex] isItemNotified: node_y6h2cr0203:subscribe_node:success :: true

2020-09-14 00:07:20 |


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


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

2020-09-14 00:07:20 | command: <data><node>node_y6h2cr0203</node><entry><content>content_ca1on30204</content></entry></data>

2020-09-14 00:07:20 | target: http://localhost:8088

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

2020-09-14 00:07:20 | entity: <data><node>node_y6h2cr0203</node><entry><content>content_ca1on30204</content></entry></data>

2020-09-14 00:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 07:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 00:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1020e8d-8a45-4656-bcb5-13974c14307a</value></item-id></result>

2020-09-14 00:07:20 | contains: true

2020-09-14 00:07:20 | [Mutex] received everything.

2020-09-14 00:07:20 | [Mutex] isItemNotified: user_regularhmwrcv0202@test-domain.com:message:received:content_ca1on30204 :: true

2020-09-14 00:07:20 |


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


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

2020-09-14 00:07:20 | command: <data><node>node_y6h2cr0203</node><expire-at>2020-09-14T07:07:15Z</expire-at><entry><content>content_6bm3710205</content></entry></data>

2020-09-14 00:07:20 | target: http://localhost:8088

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

2020-09-14 00:07:20 | entity: <data><node>node_y6h2cr0203</node><expire-at>2020-09-14T07:07:15Z</expire-at><entry><content>content_6bm3710205</content></entry></data>

2020-09-14 00:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 07:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 00:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>76a9970b-afb2-452b-8386-fb9a6fa0020b</value></item-id></result>

2020-09-14 00:07:20 | contains: true

2020-09-14 00:07:20 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_6bm3710205]

2020-09-14 00:07:35 | [Mutex] timeout. Not received [user_regularhmwrcv0202@test-domain.com:message:received:content_6bm3710205]

2020-09-14 00:07:35 | [Mutex] isItemNotified: user_regularhmwrcv0202@test-domain.com:message:received:content_6bm3710205 :: false

2020-09-14 00:07:35 |


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


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

2020-09-14 00:07:35 | command: <data><node>node_y6h2cr0203</node><entry><content>content_x17rvp0206</content></entry></data>

2020-09-14 00:07:35 | target: http://localhost:8088

2020-09-14 00:07:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 00:07:35 | entity: <data><node>node_y6h2cr0203</node><entry><content>content_x17rvp0206</content></entry></data>

2020-09-14 00:07:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 07:07:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 00:07:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cf55cbc0-88d8-49d0-b90e-d52da3a8f0ae</value></item-id></result>

2020-09-14 00:07:35 | contains: true

2020-09-14 00:07:40 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_x17rvp0206]

2020-09-14 00:07:40 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_x17rvp0206]

2020-09-14 00:07:40 | [Mutex] received everything.

2020-09-14 00:07:40 | [Mutex] isItemNotified: user_regularhmwrcv0202@test-domain.com:message:received:content_x17rvp0206 :: true

2020-09-14 00:07:40 |


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


2020-09-14 00:07:40 | [Mutex] received everything.

2020-09-14 00:07:40 | [Mutex] isItemNotified: node_y6h2cr0203:subscribe_node:success :: true

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

2020-09-14 00:07:41 | command: <data><node>node_y6h2cr0203</node><expire-at>2020-09-14T07:07:46Z</expire-at><entry><content>content_8mijp70207</content></entry></data>

2020-09-14 00:07:41 | target: http://localhost:8088

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

2020-09-14 00:07:41 | entity: <data><node>node_y6h2cr0203</node><expire-at>2020-09-14T07:07:46Z</expire-at><entry><content>content_8mijp70207</content></entry></data>

2020-09-14 00:07:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 07:07:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 00:07:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95b91e63-fbee-4d75-8efa-4320039d0937</value></item-id></result>

2020-09-14 00:07:41 | contains: true

2020-09-14 00:07:49 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_8mijp70207]

2020-09-14 00:07:49 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_8mijp70207]

2020-09-14 00:07:49 | [Mutex] waiting for: [user_regularhmwrcv0202@test-domain.com:message:received:content_8mijp70207]

2020-09-14 00:08:04 | [Mutex] timeout. Not received [user_regularhmwrcv0202@test-domain.com:message:received:content_8mijp70207]

2020-09-14 00:08:04 | [Mutex] received everything.

2020-09-14 00:08:04 | [Mutex] isItemNotified: user_regularhmwrcv0202@test-domain.com:message:received:content_8mijp70207 :: false

2020-09-14 00:08:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8mijp70207 :: true