Generated by TestNG with ReportNG at 21:14 PST on Monday 28 December 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.784s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.854s
2020-12-28 21:30:07 |

2020-12-28 21:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-28 21:30:07 | ------------------------------------

2020-12-28 21:30:07 | [Mutex] isItemNotified: node_eqckia0203:exists :: false

2020-12-28 21:30:07 | [Mutex] waiting for: [node_eqckia0203:create_node]

2020-12-28 21:30:07 | [Mutex] received everything.

2020-12-28 21:30:07 | [Mutex] isItemNotified: node_eqckia0203:create_node:success :: true

2020-12-28 21:30:07 | [Mutex] waiting for: [node_eqckia0203:subscribe_node]

2020-12-28 21:30:07 | [Mutex] waiting for: [node_eqckia0203:subscribe_node]

2020-12-28 21:30:07 | [Mutex] received everything.

2020-12-28 21:30:07 | [Mutex] isItemNotified: node_eqckia0203:subscribe_node:success :: true

2020-12-28 21:30:07 |


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


2020-12-28 21:30:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:30:07 | command: <data><node>node_eqckia0203</node><entry><content>content_l3ywu0204</content></entry></data>

2020-12-28 21:30:07 | target: http://localhost:8088

2020-12-28 21:30:07 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-12-28 21:30:07 | entity: <data><node>node_eqckia0203</node><entry><content>content_l3ywu0204</content></entry></data>

2020-12-28 21:30:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:30:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5af09379-a8d8-4ae8-9c86-67850690b572</value></item-id></result>

2020-12-28 21:30:07 | contains: true

2020-12-28 21:30:07 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_l3ywu0204]

2020-12-28 21:30:07 | [Mutex] received everything.

2020-12-28 21:30:07 | [Mutex] isItemNotified: user_regularq1ucez0202@test-domain.com:message:received:content_l3ywu0204 :: true

2020-12-28 21:30:07 |


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


2020-12-28 21:30:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:30:07 | command: <data><node>node_eqckia0203</node><expire-at>2020-12-29T05:30:02Z</expire-at><entry><content>content_2odm0f0205</content></entry></data>

2020-12-28 21:30:07 | target: http://localhost:8088

2020-12-28 21:30:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-28 21:30:07 | entity: <data><node>node_eqckia0203</node><expire-at>2020-12-29T05:30:02Z</expire-at><entry><content>content_2odm0f0205</content></entry></data>

2020-12-28 21:30:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:30:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17f3deff-db51-4444-a03f-7be5908c0e2e</value></item-id></result>

2020-12-28 21:30:07 | contains: true

2020-12-28 21:30:07 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_2odm0f0205]

2020-12-28 21:30:22 | [Mutex] timeout. Not received [user_regularq1ucez0202@test-domain.com:message:received:content_2odm0f0205]

2020-12-28 21:30:22 | [Mutex] isItemNotified: user_regularq1ucez0202@test-domain.com:message:received:content_2odm0f0205 :: false

2020-12-28 21:30:22 |


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


2020-12-28 21:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:30:22 | command: <data><node>node_eqckia0203</node><entry><content>content_ly8eiw0206</content></entry></data>

2020-12-28 21:30:22 | target: http://localhost:8088

2020-12-28 21:30:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-28 21:30:22 | entity: <data><node>node_eqckia0203</node><entry><content>content_ly8eiw0206</content></entry></data>

2020-12-28 21:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abedd0cb-659d-4561-a62a-0ddc22d43b32</value></item-id></result>

2020-12-28 21:30:22 | contains: true

2020-12-28 21:30:27 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_ly8eiw0206]

2020-12-28 21:30:27 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_ly8eiw0206]

2020-12-28 21:30:27 | [Mutex] received everything.

2020-12-28 21:30:27 | [Mutex] isItemNotified: user_regularq1ucez0202@test-domain.com:message:received:content_ly8eiw0206 :: true

2020-12-28 21:30:27 |


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


2020-12-28 21:30:27 | [Mutex] received everything.

2020-12-28 21:30:27 | [Mutex] isItemNotified: node_eqckia0203:subscribe_node:success :: true

2020-12-28 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-28 21:30:27 | command: <data><node>node_eqckia0203</node><expire-at>2020-12-29T05:30:32Z</expire-at><entry><content>content_lqz8nn0207</content></entry></data>

2020-12-28 21:30:27 | target: http://localhost:8088

2020-12-28 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-28 21:30:27 | entity: <data><node>node_eqckia0203</node><expire-at>2020-12-29T05:30:32Z</expire-at><entry><content>content_lqz8nn0207</content></entry></data>

2020-12-28 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-28 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3677aa77-b983-4bb1-8a42-f0c3722161a6</value></item-id></result>

2020-12-28 21:30:27 | contains: true

2020-12-28 21:30:36 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_lqz8nn0207]

2020-12-28 21:30:36 | [Mutex] waiting for: [user_regularq1ucez0202@test-domain.com:message:received:content_lqz8nn0207]

2020-12-28 21:30:51 | [Mutex] timeout. Not received [user_regularq1ucez0202@test-domain.com:message:received:content_lqz8nn0207]

2020-12-28 21:30:51 | [Mutex] received everything.

2020-12-28 21:30:51 | [Mutex] isItemNotified: user_regularq1ucez0202@test-domain.com:message:received:content_lqz8nn0207 :: false

2020-12-28 21:30:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lqz8nn0207 :: true