Generated by TestNG with ReportNG at 21:19 PST on Sunday 13 February 2022
root@f29ef40080b5 / 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.095s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.767s
2022-02-13 21:36:14 |

2022-02-13 21:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-13 21:36:14 | ------------------------------------

2022-02-13 21:36:14 | [Mutex] isItemNotified: node_f83okq0203:exists :: false

2022-02-13 21:36:14 | [Mutex] waiting for: [node_f83okq0203:create_node]

2022-02-13 21:36:14 | [Mutex] received everything.

2022-02-13 21:36:14 | [Mutex] isItemNotified: node_f83okq0203:create_node:success :: true

2022-02-13 21:36:14 | [Mutex] waiting for: [node_f83okq0203:subscribe_node]

2022-02-13 21:36:14 | [Mutex] received everything.

2022-02-13 21:36:14 | [Mutex] isItemNotified: node_f83okq0203:subscribe_node:success :: true

2022-02-13 21:36:14 |


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


2022-02-13 21:36:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 21:36:14 | command: <data><node>node_f83okq0203</node><entry><content>content_axhrak0204</content></entry></data>

2022-02-13 21:36:14 | target: http://localhost:8088

2022-02-13 21:36:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-13 21:36:14 | entity: <data><node>node_f83okq0203</node><entry><content>content_axhrak0204</content></entry></data>

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

2022-02-13 21:36:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5f398030-250d-44a2-806a-fb5c9402a889</value></item-id></result>

2022-02-13 21:36:14 | contains: true

2022-02-13 21:36:14 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_axhrak0204]

2022-02-13 21:36:14 | [Mutex] received everything.

2022-02-13 21:36:14 | [Mutex] isItemNotified: user_regularxni7bl0202@test-domain.com:message:received:content_axhrak0204 :: true

2022-02-13 21:36:14 |


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


2022-02-13 21:36:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 21:36:14 | command: <data><node>node_f83okq0203</node><expire-at>2022-02-14T05:36:09Z</expire-at><entry><content>content_z1zhcp0205</content></entry></data>

2022-02-13 21:36:14 | target: http://localhost:8088

2022-02-13 21:36:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-13 21:36:14 | entity: <data><node>node_f83okq0203</node><expire-at>2022-02-14T05:36:09Z</expire-at><entry><content>content_z1zhcp0205</content></entry></data>

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

2022-02-13 21:36:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3468640-bbd5-47ed-b9a6-c9c9fcf4b0d1</value></item-id></result>

2022-02-13 21:36:14 | contains: true

2022-02-13 21:36:14 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_z1zhcp0205]

2022-02-13 21:36:29 | [Mutex] timeout. Not received [user_regularxni7bl0202@test-domain.com:message:received:content_z1zhcp0205]

2022-02-13 21:36:29 | [Mutex] isItemNotified: user_regularxni7bl0202@test-domain.com:message:received:content_z1zhcp0205 :: false

2022-02-13 21:36:29 |


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


2022-02-13 21:36:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 21:36:29 | command: <data><node>node_f83okq0203</node><entry><content>content_iyzg400206</content></entry></data>

2022-02-13 21:36:29 | target: http://localhost:8088

2022-02-13 21:36:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-13 21:36:29 | entity: <data><node>node_f83okq0203</node><entry><content>content_iyzg400206</content></entry></data>

2022-02-13 21:36:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:36:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 21:36:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>751f8b29-97c2-4354-8a30-6c5aa88c7eec</value></item-id></result>

2022-02-13 21:36:29 | contains: true

2022-02-13 21:36:34 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_iyzg400206]

2022-02-13 21:36:34 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_iyzg400206]

2022-02-13 21:36:34 | [Mutex] received everything.

2022-02-13 21:36:34 | [Mutex] isItemNotified: user_regularxni7bl0202@test-domain.com:message:received:content_iyzg400206 :: true

2022-02-13 21:36:34 |


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


2022-02-13 21:36:34 | [Mutex] received everything.

2022-02-13 21:36:34 | [Mutex] isItemNotified: node_f83okq0203:subscribe_node:success :: true

2022-02-13 21:36:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-13 21:36:35 | command: <data><node>node_f83okq0203</node><expire-at>2022-02-14T05:36:40Z</expire-at><entry><content>content_1wprge0207</content></entry></data>

2022-02-13 21:36:35 | target: http://localhost:8088

2022-02-13 21:36:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-13 21:36:35 | entity: <data><node>node_f83okq0203</node><expire-at>2022-02-14T05:36:40Z</expire-at><entry><content>content_1wprge0207</content></entry></data>

2022-02-13 21:36:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:36:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-13 21:36:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ae44dc2c-68c0-4fa7-955e-ff4483ed5ab4</value></item-id></result>

2022-02-13 21:36:35 | contains: true

2022-02-13 21:36:43 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_1wprge0207]

2022-02-13 21:36:43 | [Mutex] waiting for: [user_regularxni7bl0202@test-domain.com:message:received:content_1wprge0207]

2022-02-13 21:36:58 | [Mutex] timeout. Not received [user_regularxni7bl0202@test-domain.com:message:received:content_1wprge0207]

2022-02-13 21:36:58 | [Mutex] received everything.

2022-02-13 21:36:58 | [Mutex] isItemNotified: user_regularxni7bl0202@test-domain.com:message:received:content_1wprge0207 :: false

2022-02-13 21:36:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1wprge0207 :: true