Generated by TestNG with ReportNG at 21:30 PST on Sunday 06 February 2022
root@785cf647a4ab / 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.278s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.688s
2022-02-06 21:47:46 |

2022-02-06 21:47:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-06 21:47:46 | ------------------------------------

2022-02-06 21:47:46 | [Mutex] isItemNotified: node_41pw6r0203:exists :: false

2022-02-06 21:47:46 | [Mutex] waiting for: [node_41pw6r0203:create_node]

2022-02-06 21:47:46 | [Mutex] received everything.

2022-02-06 21:47:46 | [Mutex] isItemNotified: node_41pw6r0203:create_node:success :: true

2022-02-06 21:47:46 | [Mutex] waiting for: [node_41pw6r0203:subscribe_node]

2022-02-06 21:47:46 | [Mutex] waiting for: [node_41pw6r0203:subscribe_node]

2022-02-06 21:47:46 | [Mutex] received everything.

2022-02-06 21:47:46 | [Mutex] isItemNotified: node_41pw6r0203:subscribe_node:success :: true

2022-02-06 21:47:46 |


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


2022-02-06 21:47:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:47:46 | command: <data><node>node_41pw6r0203</node><entry><content>content_evd04c0204</content></entry></data>

2022-02-06 21:47:46 | target: http://localhost:8088

2022-02-06 21:47:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-06 21:47:46 | entity: <data><node>node_41pw6r0203</node><entry><content>content_evd04c0204</content></entry></data>

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

2022-02-06 21:47:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5439b8ee-6ffe-44a3-a571-2783170d48f1</value></item-id></result>

2022-02-06 21:47:46 | contains: true

2022-02-06 21:47:46 | [Mutex] received everything.

2022-02-06 21:47:46 | [Mutex] isItemNotified: user_regularokzows0202@test-domain.com:message:received:content_evd04c0204 :: true

2022-02-06 21:47:46 |


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


2022-02-06 21:47:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:47:46 | command: <data><node>node_41pw6r0203</node><expire-at>2022-02-07T05:47:41Z</expire-at><entry><content>content_jouo9w0205</content></entry></data>

2022-02-06 21:47:46 | target: http://localhost:8088

2022-02-06 21:47:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-06 21:47:46 | entity: <data><node>node_41pw6r0203</node><expire-at>2022-02-07T05:47:41Z</expire-at><entry><content>content_jouo9w0205</content></entry></data>

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

2022-02-06 21:47:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e55dd5aa-d912-484d-ab0c-e614634f32ab</value></item-id></result>

2022-02-06 21:47:46 | contains: true

2022-02-06 21:47:46 | [Mutex] waiting for: [user_regularokzows0202@test-domain.com:message:received:content_jouo9w0205]

2022-02-06 21:48:01 | [Mutex] timeout. Not received [user_regularokzows0202@test-domain.com:message:received:content_jouo9w0205]

2022-02-06 21:48:01 | [Mutex] isItemNotified: user_regularokzows0202@test-domain.com:message:received:content_jouo9w0205 :: false

2022-02-06 21:48:01 |


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


2022-02-06 21:48:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:48:01 | command: <data><node>node_41pw6r0203</node><entry><content>content_ihwzhk0206</content></entry></data>

2022-02-06 21:48:01 | target: http://localhost:8088

2022-02-06 21:48:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-06 21:48:01 | entity: <data><node>node_41pw6r0203</node><entry><content>content_ihwzhk0206</content></entry></data>

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

2022-02-06 21:48:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4670681-16f4-4cee-9801-242e6319ad88</value></item-id></result>

2022-02-06 21:48:02 | contains: true

2022-02-06 21:48:07 | [Mutex] waiting for: [user_regularokzows0202@test-domain.com:message:received:content_ihwzhk0206]

2022-02-06 21:48:07 | [Mutex] received everything.

2022-02-06 21:48:07 | [Mutex] isItemNotified: user_regularokzows0202@test-domain.com:message:received:content_ihwzhk0206 :: true

2022-02-06 21:48:07 |


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


2022-02-06 21:48:07 | [Mutex] received everything.

2022-02-06 21:48:07 | [Mutex] isItemNotified: node_41pw6r0203:subscribe_node:success :: true

2022-02-06 21:48:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-06 21:48:07 | command: <data><node>node_41pw6r0203</node><expire-at>2022-02-07T05:48:12Z</expire-at><entry><content>content_ghqzfd0207</content></entry></data>

2022-02-06 21:48:07 | target: http://localhost:8088

2022-02-06 21:48:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-06 21:48:07 | entity: <data><node>node_41pw6r0203</node><expire-at>2022-02-07T05:48:12Z</expire-at><entry><content>content_ghqzfd0207</content></entry></data>

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

2022-02-06 21:48:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51586057-d089-41dd-8836-5016c0c0afe1</value></item-id></result>

2022-02-06 21:48:07 | contains: true

2022-02-06 21:48:15 | [Mutex] waiting for: [user_regularokzows0202@test-domain.com:message:received:content_ghqzfd0207]

2022-02-06 21:48:30 | [Mutex] timeout. Not received [user_regularokzows0202@test-domain.com:message:received:content_ghqzfd0207]

2022-02-06 21:48:30 | [Mutex] received everything.

2022-02-06 21:48:30 | [Mutex] isItemNotified: user_regularokzows0202@test-domain.com:message:received:content_ghqzfd0207 :: false

2022-02-06 21:48:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ghqzfd0207 :: true