Generated by TestNG with ReportNG at 22:23 PDT on Wednesday 22 September 2021
root@b2c2a8eba6e6 / 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.189s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.680s
2021-09-22 22:38:50 |

2021-09-22 22:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-22 22:38:50 | ------------------------------------

2021-09-22 22:38:50 | [Mutex] isItemNotified: node_wsts4w0203:exists :: false

2021-09-22 22:38:50 | [Mutex] waiting for: [node_wsts4w0203:create_node]

2021-09-22 22:38:50 | [Mutex] received everything.

2021-09-22 22:38:50 | [Mutex] isItemNotified: node_wsts4w0203:create_node:success :: true

2021-09-22 22:38:50 | [Mutex] waiting for: [node_wsts4w0203:subscribe_node]

2021-09-22 22:38:50 | [Mutex] waiting for: [node_wsts4w0203:subscribe_node]

2021-09-22 22:38:50 | [Mutex] received everything.

2021-09-22 22:38:50 | [Mutex] isItemNotified: node_wsts4w0203:subscribe_node:success :: true

2021-09-22 22:38:50 |


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


2021-09-22 22:38:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 22:38:50 | command: <data><node>node_wsts4w0203</node><entry><content>content_mmln90204</content></entry></data>

2021-09-22 22:38:50 | target: http://localhost:8088

2021-09-22 22:38:50 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-09-22 22:38:50 | entity: <data><node>node_wsts4w0203</node><entry><content>content_mmln90204</content></entry></data>

2021-09-22 22:38:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:38:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-22 22:38:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5baa5619-b666-4e8c-ad7e-5aa113c2f760</value></item-id></result>

2021-09-22 22:38:50 | contains: true

2021-09-22 22:38:50 | [Mutex] received everything.

2021-09-22 22:38:50 | [Mutex] isItemNotified: user_regularm6r7mm0202@test-domain.com:message:received:content_mmln90204 :: true

2021-09-22 22:38:50 |


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


2021-09-22 22:38:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 22:38:50 | command: <data><node>node_wsts4w0203</node><expire-at>2021-09-23T05:38:45Z</expire-at><entry><content>content_jw20ko0205</content></entry></data>

2021-09-22 22:38:50 | target: http://localhost:8088

2021-09-22 22:38:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-22 22:38:50 | entity: <data><node>node_wsts4w0203</node><expire-at>2021-09-23T05:38:45Z</expire-at><entry><content>content_jw20ko0205</content></entry></data>

2021-09-22 22:38:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:38:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-22 22:38:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e7a299c-a5db-452a-95ba-046d61e01d6e</value></item-id></result>

2021-09-22 22:38:50 | contains: true

2021-09-22 22:38:50 | [Mutex] waiting for: [user_regularm6r7mm0202@test-domain.com:message:received:content_jw20ko0205]

2021-09-22 22:39:05 | [Mutex] timeout. Not received [user_regularm6r7mm0202@test-domain.com:message:received:content_jw20ko0205]

2021-09-22 22:39:05 | [Mutex] isItemNotified: user_regularm6r7mm0202@test-domain.com:message:received:content_jw20ko0205 :: false

2021-09-22 22:39:05 |


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


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

2021-09-22 22:39:05 | command: <data><node>node_wsts4w0203</node><entry><content>content_91tlv90206</content></entry></data>

2021-09-22 22:39:05 | target: http://localhost:8088

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

2021-09-22 22:39:05 | entity: <data><node>node_wsts4w0203</node><entry><content>content_91tlv90206</content></entry></data>

2021-09-22 22:39:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:39:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-22 22:39:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>14e35dda-87d0-49a0-9813-cfdb0fd05d27</value></item-id></result>

2021-09-22 22:39:06 | contains: true

2021-09-22 22:39:11 | [Mutex] waiting for: [user_regularm6r7mm0202@test-domain.com:message:received:content_91tlv90206]

2021-09-22 22:39:11 | [Mutex] received everything.

2021-09-22 22:39:11 | [Mutex] isItemNotified: user_regularm6r7mm0202@test-domain.com:message:received:content_91tlv90206 :: true

2021-09-22 22:39:11 |


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


2021-09-22 22:39:11 | [Mutex] received everything.

2021-09-22 22:39:11 | [Mutex] isItemNotified: node_wsts4w0203:subscribe_node:success :: true

2021-09-22 22:39:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-22 22:39:11 | command: <data><node>node_wsts4w0203</node><expire-at>2021-09-23T05:39:16Z</expire-at><entry><content>content_jaysvs0207</content></entry></data>

2021-09-22 22:39:11 | target: http://localhost:8088

2021-09-22 22:39:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-22 22:39:11 | entity: <data><node>node_wsts4w0203</node><expire-at>2021-09-23T05:39:16Z</expire-at><entry><content>content_jaysvs0207</content></entry></data>

2021-09-22 22:39:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Sep 2021 05:39:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-22 22:39:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f571783-117e-4e00-9d86-a24aec08c418</value></item-id></result>

2021-09-22 22:39:11 | contains: true

2021-09-22 22:39:19 | [Mutex] waiting for: [user_regularm6r7mm0202@test-domain.com:message:received:content_jaysvs0207]

2021-09-22 22:39:19 | [Mutex] waiting for: [user_regularm6r7mm0202@test-domain.com:message:received:content_jaysvs0207]

2021-09-22 22:39:19 | [Mutex] waiting for: [user_regularm6r7mm0202@test-domain.com:message:received:content_jaysvs0207]

2021-09-22 22:39:34 | [Mutex] timeout. Not received [user_regularm6r7mm0202@test-domain.com:message:received:content_jaysvs0207]

2021-09-22 22:39:34 | [Mutex] received everything.

2021-09-22 22:39:34 | [Mutex] isItemNotified: user_regularm6r7mm0202@test-domain.com:message:received:content_jaysvs0207 :: false

2021-09-22 22:39:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jaysvs0207 :: true