Generated by TestNG with ReportNG at 22:17 PDT on Thursday 13 May 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.524s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.695s
2021-05-13 22:32:58 |

2021-05-13 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-13 22:32:58 | ------------------------------------

2021-05-13 22:32:58 | [Mutex] isItemNotified: node_20p9va0203:exists :: false

2021-05-13 22:32:58 | [Mutex] waiting for: [node_20p9va0203:create_node]

2021-05-13 22:32:58 | [Mutex] received everything.

2021-05-13 22:32:58 | [Mutex] isItemNotified: node_20p9va0203:create_node:success :: true

2021-05-13 22:32:58 | [Mutex] waiting for: [node_20p9va0203:subscribe_node]

2021-05-13 22:32:58 | [Mutex] received everything.

2021-05-13 22:32:58 | [Mutex] isItemNotified: node_20p9va0203:subscribe_node:success :: true

2021-05-13 22:32:58 |


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


2021-05-13 22:32:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:32:58 | command: <data><node>node_20p9va0203</node><entry><content>content_578sjb0204</content></entry></data>

2021-05-13 22:32:58 | target: http://localhost:8088

2021-05-13 22:32:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-13 22:32:58 | entity: <data><node>node_20p9va0203</node><entry><content>content_578sjb0204</content></entry></data>

2021-05-13 22:32:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:32:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:32:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7775e4e1-9051-4a4d-8555-6e1db7f65d75</value></item-id></result>

2021-05-13 22:32:58 | contains: true

2021-05-13 22:32:58 | [Mutex] received everything.

2021-05-13 22:32:58 | [Mutex] isItemNotified: user_regular6whtaw0202@test-domain.com:message:received:content_578sjb0204 :: true

2021-05-13 22:32:58 |


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


2021-05-13 22:32:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:32:58 | command: <data><node>node_20p9va0203</node><expire-at>2021-05-14T05:32:53Z</expire-at><entry><content>content_sgqf0h0205</content></entry></data>

2021-05-13 22:32:58 | target: http://localhost:8088

2021-05-13 22:32:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-13 22:32:58 | entity: <data><node>node_20p9va0203</node><expire-at>2021-05-14T05:32:53Z</expire-at><entry><content>content_sgqf0h0205</content></entry></data>

2021-05-13 22:32:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:32:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:32:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a811c439-f73b-4a9a-aa34-dc4ba1fe976d</value></item-id></result>

2021-05-13 22:32:58 | contains: true

2021-05-13 22:32:58 | [Mutex] waiting for: [user_regular6whtaw0202@test-domain.com:message:received:content_sgqf0h0205]

2021-05-13 22:33:13 | [Mutex] timeout. Not received [user_regular6whtaw0202@test-domain.com:message:received:content_sgqf0h0205]

2021-05-13 22:33:13 | [Mutex] isItemNotified: user_regular6whtaw0202@test-domain.com:message:received:content_sgqf0h0205 :: false

2021-05-13 22:33:13 |


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


2021-05-13 22:33:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:13 | command: <data><node>node_20p9va0203</node><entry><content>content_i0xplq0206</content></entry></data>

2021-05-13 22:33:13 | target: http://localhost:8088

2021-05-13 22:33:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-13 22:33:13 | entity: <data><node>node_20p9va0203</node><entry><content>content_i0xplq0206</content></entry></data>

2021-05-13 22:33:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa780711-b79e-4685-9ca6-08935eb4a350</value></item-id></result>

2021-05-13 22:33:13 | contains: true

2021-05-13 22:33:18 | [Mutex] waiting for: [user_regular6whtaw0202@test-domain.com:message:received:content_i0xplq0206]

2021-05-13 22:33:18 | [Mutex] received everything.

2021-05-13 22:33:18 | [Mutex] isItemNotified: user_regular6whtaw0202@test-domain.com:message:received:content_i0xplq0206 :: true

2021-05-13 22:33:18 |


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


2021-05-13 22:33:18 | [Mutex] received everything.

2021-05-13 22:33:18 | [Mutex] isItemNotified: node_20p9va0203:subscribe_node:success :: true

2021-05-13 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:18 | command: <data><node>node_20p9va0203</node><expire-at>2021-05-14T05:33:23Z</expire-at><entry><content>content_u0aeaa0207</content></entry></data>

2021-05-13 22:33:18 | target: http://localhost:8088

2021-05-13 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-13 22:33:18 | entity: <data><node>node_20p9va0203</node><expire-at>2021-05-14T05:33:23Z</expire-at><entry><content>content_u0aeaa0207</content></entry></data>

2021-05-13 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d91356c3-f1dc-4de6-bc25-0f5784de5dff</value></item-id></result>

2021-05-13 22:33:18 | contains: true

2021-05-13 22:33:26 | [Mutex] waiting for: [user_regular6whtaw0202@test-domain.com:message:received:content_u0aeaa0207]

2021-05-13 22:33:26 | [Mutex] waiting for: [user_regular6whtaw0202@test-domain.com:message:received:content_u0aeaa0207]

2021-05-13 22:33:26 | [Mutex] waiting for: [user_regular6whtaw0202@test-domain.com:message:received:content_u0aeaa0207]

2021-05-13 22:33:41 | [Mutex] timeout. Not received [user_regular6whtaw0202@test-domain.com:message:received:content_u0aeaa0207]

2021-05-13 22:33:41 | [Mutex] received everything.

2021-05-13 22:33:41 | [Mutex] isItemNotified: user_regular6whtaw0202@test-domain.com:message:received:content_u0aeaa0207 :: false

2021-05-13 22:33:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u0aeaa0207 :: true