Generated by TestNG with ReportNG at 08:12 PDT on Wednesday 27 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.103s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.781s
2021-10-27 08:29:14 |

2021-10-27 08:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-27 08:29:14 | ------------------------------------

2021-10-27 08:29:14 | [Mutex] isItemNotified: node_w2ovml0203:exists :: false

2021-10-27 08:29:14 | [Mutex] waiting for: [node_w2ovml0203:create_node]

2021-10-27 08:29:14 | [Mutex] received everything.

2021-10-27 08:29:14 | [Mutex] isItemNotified: node_w2ovml0203:create_node:success :: true

2021-10-27 08:29:14 | [Mutex] waiting for: [node_w2ovml0203:subscribe_node]

2021-10-27 08:29:14 | [Mutex] waiting for: [node_w2ovml0203:subscribe_node]

2021-10-27 08:29:14 | [Mutex] received everything.

2021-10-27 08:29:14 | [Mutex] isItemNotified: node_w2ovml0203:subscribe_node:success :: true

2021-10-27 08:29:14 |


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


2021-10-27 08:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:29:14 | command: <data><node>node_w2ovml0203</node><entry><content>content_c1749v0204</content></entry></data>

2021-10-27 08:29:14 | target: http://localhost:8088

2021-10-27 08:29:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:29:14 | entity: <data><node>node_w2ovml0203</node><entry><content>content_c1749v0204</content></entry></data>

2021-10-27 08:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac2407e3-fc56-4bd2-bbe6-7f4716faf04b</value></item-id></result>

2021-10-27 08:29:14 | contains: true

2021-10-27 08:29:14 | [Mutex] received everything.

2021-10-27 08:29:14 | [Mutex] isItemNotified: user_regularz9vbsa0202@test-domain.com:message:received:content_c1749v0204 :: true

2021-10-27 08:29:14 |


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


2021-10-27 08:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:29:14 | command: <data><node>node_w2ovml0203</node><expire-at>2021-10-27T15:29:09Z</expire-at><entry><content>content_y6rrvn0205</content></entry></data>

2021-10-27 08:29:14 | target: http://localhost:8088

2021-10-27 08:29:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:29:14 | entity: <data><node>node_w2ovml0203</node><expire-at>2021-10-27T15:29:09Z</expire-at><entry><content>content_y6rrvn0205</content></entry></data>

2021-10-27 08:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24cfa571-d03b-4121-861b-90cd01368d64</value></item-id></result>

2021-10-27 08:29:14 | contains: true

2021-10-27 08:29:14 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_y6rrvn0205]

2021-10-27 08:29:29 | [Mutex] timeout. Not received [user_regularz9vbsa0202@test-domain.com:message:received:content_y6rrvn0205]

2021-10-27 08:29:29 | [Mutex] isItemNotified: user_regularz9vbsa0202@test-domain.com:message:received:content_y6rrvn0205 :: false

2021-10-27 08:29:29 |


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


2021-10-27 08:29:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:29:29 | command: <data><node>node_w2ovml0203</node><entry><content>content_l408bo0206</content></entry></data>

2021-10-27 08:29:29 | target: http://localhost:8088

2021-10-27 08:29:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:29:29 | entity: <data><node>node_w2ovml0203</node><entry><content>content_l408bo0206</content></entry></data>

2021-10-27 08:29:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:29:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:29:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7af586dc-7d47-4747-89bb-804c816ecc91</value></item-id></result>

2021-10-27 08:29:29 | contains: true

2021-10-27 08:29:34 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_l408bo0206]

2021-10-27 08:29:34 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_l408bo0206]

2021-10-27 08:29:34 | [Mutex] received everything.

2021-10-27 08:29:34 | [Mutex] isItemNotified: user_regularz9vbsa0202@test-domain.com:message:received:content_l408bo0206 :: true

2021-10-27 08:29:34 |


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


2021-10-27 08:29:34 | [Mutex] received everything.

2021-10-27 08:29:34 | [Mutex] isItemNotified: node_w2ovml0203:subscribe_node:success :: true

2021-10-27 08:29:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:29:34 | command: <data><node>node_w2ovml0203</node><expire-at>2021-10-27T15:29:39Z</expire-at><entry><content>content_71d4yp0207</content></entry></data>

2021-10-27 08:29:34 | target: http://localhost:8088

2021-10-27 08:29:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:29:34 | entity: <data><node>node_w2ovml0203</node><expire-at>2021-10-27T15:29:39Z</expire-at><entry><content>content_71d4yp0207</content></entry></data>

2021-10-27 08:29:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:29:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:29:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>763aabfa-db8f-4415-86a2-80351199b969</value></item-id></result>

2021-10-27 08:29:34 | contains: true

2021-10-27 08:29:43 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_71d4yp0207]

2021-10-27 08:29:43 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_71d4yp0207]

2021-10-27 08:29:43 | [Mutex] waiting for: [user_regularz9vbsa0202@test-domain.com:message:received:content_71d4yp0207]

2021-10-27 08:29:58 | [Mutex] timeout. Not received [user_regularz9vbsa0202@test-domain.com:message:received:content_71d4yp0207]

2021-10-27 08:29:58 | [Mutex] received everything.

2021-10-27 08:29:58 | [Mutex] isItemNotified: user_regularz9vbsa0202@test-domain.com:message:received:content_71d4yp0207 :: false

2021-10-27 08:29:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_71d4yp0207 :: true