Generated by TestNG with ReportNG at 08:45 PDT on Wednesday 27 October 2021
root@f29ef40080b5 / 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.442s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.704s
2021-10-27 09:00:26 |

2021-10-27 09:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-27 09:00:26 | ------------------------------------

2021-10-27 09:00:26 | [Mutex] isItemNotified: node_zyr8h0203:exists :: false

2021-10-27 09:00:26 | [Mutex] waiting for: [node_zyr8h0203:create_node]

2021-10-27 09:00:26 | [Mutex] received everything.

2021-10-27 09:00:26 | [Mutex] isItemNotified: node_zyr8h0203:create_node:success :: true

2021-10-27 09:00:26 | [Mutex] waiting for: [node_zyr8h0203:subscribe_node]

2021-10-27 09:00:26 | [Mutex] waiting for: [node_zyr8h0203:subscribe_node]

2021-10-27 09:00:26 | [Mutex] received everything.

2021-10-27 09:00:26 | [Mutex] isItemNotified: node_zyr8h0203:subscribe_node:success :: true

2021-10-27 09:00:26 |


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


2021-10-27 09:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 09:00:26 | command: <data><node>node_zyr8h0203</node><entry><content>content_cvuaqz0204</content></entry></data>

2021-10-27 09:00:26 | target: http://localhost:8088

2021-10-27 09:00:26 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-10-27 09:00:26 | entity: <data><node>node_zyr8h0203</node><entry><content>content_cvuaqz0204</content></entry></data>

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

2021-10-27 09:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b245574-a5e3-4a52-8477-2060f59d14f3</value></item-id></result>

2021-10-27 09:00:26 | contains: true

2021-10-27 09:00:26 | [Mutex] received everything.

2021-10-27 09:00:26 | [Mutex] isItemNotified: user_regularrdt23q0202@test-domain.com:message:received:content_cvuaqz0204 :: true

2021-10-27 09:00:26 |


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


2021-10-27 09:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 09:00:26 | command: <data><node>node_zyr8h0203</node><expire-at>2021-10-27T16:00:21Z</expire-at><entry><content>content_esn2y50205</content></entry></data>

2021-10-27 09:00:26 | target: http://localhost:8088

2021-10-27 09:00:26 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-10-27 09:00:26 | entity: <data><node>node_zyr8h0203</node><expire-at>2021-10-27T16:00:21Z</expire-at><entry><content>content_esn2y50205</content></entry></data>

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

2021-10-27 09:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd6881bb-bca6-48eb-ad63-6373d2c02589</value></item-id></result>

2021-10-27 09:00:26 | contains: true

2021-10-27 09:00:26 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_esn2y50205]

2021-10-27 09:00:41 | [Mutex] timeout. Not received [user_regularrdt23q0202@test-domain.com:message:received:content_esn2y50205]

2021-10-27 09:00:41 | [Mutex] isItemNotified: user_regularrdt23q0202@test-domain.com:message:received:content_esn2y50205 :: false

2021-10-27 09:00:41 |


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


2021-10-27 09:00:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 09:00:41 | command: <data><node>node_zyr8h0203</node><entry><content>content_eag2850206</content></entry></data>

2021-10-27 09:00:41 | target: http://localhost:8088

2021-10-27 09:00:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-10-27 09:00:41 | entity: <data><node>node_zyr8h0203</node><entry><content>content_eag2850206</content></entry></data>

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

2021-10-27 09:00:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d978afc2-8a3b-442c-b336-76a202cc75c3</value></item-id></result>

2021-10-27 09:00:41 | contains: true

2021-10-27 09:00:47 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_eag2850206]

2021-10-27 09:00:47 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_eag2850206]

2021-10-27 09:00:47 | [Mutex] received everything.

2021-10-27 09:00:47 | [Mutex] isItemNotified: user_regularrdt23q0202@test-domain.com:message:received:content_eag2850206 :: true

2021-10-27 09:00:47 |


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


2021-10-27 09:00:47 | [Mutex] received everything.

2021-10-27 09:00:47 | [Mutex] isItemNotified: node_zyr8h0203:subscribe_node:success :: true

2021-10-27 09:00:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 09:00:47 | command: <data><node>node_zyr8h0203</node><expire-at>2021-10-27T16:00:52Z</expire-at><entry><content>content_s16oyf0207</content></entry></data>

2021-10-27 09:00:47 | target: http://localhost:8088

2021-10-27 09:00:47 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-10-27 09:00:47 | entity: <data><node>node_zyr8h0203</node><expire-at>2021-10-27T16:00:52Z</expire-at><entry><content>content_s16oyf0207</content></entry></data>

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

2021-10-27 09:00:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06da8c59-7536-490d-93ac-5a57b37f14a3</value></item-id></result>

2021-10-27 09:00:47 | contains: true

2021-10-27 09:00:55 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_s16oyf0207]

2021-10-27 09:00:55 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_s16oyf0207]

2021-10-27 09:00:55 | [Mutex] waiting for: [user_regularrdt23q0202@test-domain.com:message:received:content_s16oyf0207]

2021-10-27 09:01:10 | [Mutex] timeout. Not received [user_regularrdt23q0202@test-domain.com:message:received:content_s16oyf0207]

2021-10-27 09:01:10 | [Mutex] received everything.

2021-10-27 09:01:10 | [Mutex] isItemNotified: user_regularrdt23q0202@test-domain.com:message:received:content_s16oyf0207 :: false

2021-10-27 09:01:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s16oyf0207 :: true