Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 06 October 2021
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.124s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.659s
2021-10-06 22:30:06 |

2021-10-06 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-06 22:30:06 | ------------------------------------

2021-10-06 22:30:06 | [Mutex] isItemNotified: node_m7z3030203:exists :: false

2021-10-06 22:30:06 | [Mutex] waiting for: [node_m7z3030203:create_node]

2021-10-06 22:30:06 | [Mutex] received everything.

2021-10-06 22:30:06 | [Mutex] isItemNotified: node_m7z3030203:create_node:success :: true

2021-10-06 22:30:06 | [Mutex] waiting for: [node_m7z3030203:subscribe_node]

2021-10-06 22:30:06 | [Mutex] waiting for: [node_m7z3030203:subscribe_node]

2021-10-06 22:30:06 | [Mutex] received everything.

2021-10-06 22:30:06 | [Mutex] isItemNotified: node_m7z3030203:subscribe_node:success :: true

2021-10-06 22:30:06 |


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


2021-10-06 22:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:30:06 | command: <data><node>node_m7z3030203</node><entry><content>content_5h8ihl0204</content></entry></data>

2021-10-06 22:30:06 | target: http://localhost:8088

2021-10-06 22:30:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:30:06 | entity: <data><node>node_m7z3030203</node><entry><content>content_5h8ihl0204</content></entry></data>

2021-10-06 22:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fcd14221-bdca-4a46-9088-e45341a0bd8d</value></item-id></result>

2021-10-06 22:30:06 | contains: true

2021-10-06 22:30:06 | [Mutex] received everything.

2021-10-06 22:30:06 | [Mutex] isItemNotified: user_regularalmsr80202@test-domain.com:message:received:content_5h8ihl0204 :: true

2021-10-06 22:30:06 |


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


2021-10-06 22:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:30:06 | command: <data><node>node_m7z3030203</node><expire-at>2021-10-07T05:30:01Z</expire-at><entry><content>content_obwgs90205</content></entry></data>

2021-10-06 22:30:06 | target: http://localhost:8088

2021-10-06 22:30:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:30:06 | entity: <data><node>node_m7z3030203</node><expire-at>2021-10-07T05:30:01Z</expire-at><entry><content>content_obwgs90205</content></entry></data>

2021-10-06 22:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>83458e9e-a1d7-4f8e-a4f8-4f53fcea3559</value></item-id></result>

2021-10-06 22:30:06 | contains: true

2021-10-06 22:30:06 | [Mutex] waiting for: [user_regularalmsr80202@test-domain.com:message:received:content_obwgs90205]

2021-10-06 22:30:21 | [Mutex] timeout. Not received [user_regularalmsr80202@test-domain.com:message:received:content_obwgs90205]

2021-10-06 22:30:21 | [Mutex] isItemNotified: user_regularalmsr80202@test-domain.com:message:received:content_obwgs90205 :: false

2021-10-06 22:30:21 |


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


2021-10-06 22:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:30:21 | command: <data><node>node_m7z3030203</node><entry><content>content_6cqih80206</content></entry></data>

2021-10-06 22:30:21 | target: http://localhost:8088

2021-10-06 22:30:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:30:21 | entity: <data><node>node_m7z3030203</node><entry><content>content_6cqih80206</content></entry></data>

2021-10-06 22:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33c3f50c-a16c-4cf7-8f63-cf793da57d9e</value></item-id></result>

2021-10-06 22:30:22 | contains: true

2021-10-06 22:30:27 | [Mutex] waiting for: [user_regularalmsr80202@test-domain.com:message:received:content_6cqih80206]

2021-10-06 22:30:27 | [Mutex] received everything.

2021-10-06 22:30:27 | [Mutex] isItemNotified: user_regularalmsr80202@test-domain.com:message:received:content_6cqih80206 :: true

2021-10-06 22:30:27 |


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


2021-10-06 22:30:27 | [Mutex] received everything.

2021-10-06 22:30:27 | [Mutex] isItemNotified: node_m7z3030203:subscribe_node:success :: true

2021-10-06 22:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:30:27 | command: <data><node>node_m7z3030203</node><expire-at>2021-10-07T05:30:32Z</expire-at><entry><content>content_9ew0w30207</content></entry></data>

2021-10-06 22:30:27 | target: http://localhost:8088

2021-10-06 22:30:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:30:27 | entity: <data><node>node_m7z3030203</node><expire-at>2021-10-07T05:30:32Z</expire-at><entry><content>content_9ew0w30207</content></entry></data>

2021-10-06 22:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2173cee6-49e6-454c-b09f-ad836cbebc31</value></item-id></result>

2021-10-06 22:30:27 | contains: true

2021-10-06 22:30:35 | [Mutex] waiting for: [user_regularalmsr80202@test-domain.com:message:received:content_9ew0w30207]

2021-10-06 22:30:35 | [Mutex] waiting for: [user_regularalmsr80202@test-domain.com:message:received:content_9ew0w30207]

2021-10-06 22:30:50 | [Mutex] timeout. Not received [user_regularalmsr80202@test-domain.com:message:received:content_9ew0w30207]

2021-10-06 22:30:50 | [Mutex] received everything.

2021-10-06 22:30:50 | [Mutex] isItemNotified: user_regularalmsr80202@test-domain.com:message:received:content_9ew0w30207 :: false

2021-10-06 22:30:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9ew0w30207 :: true