Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 05 May 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.319s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.632s
2021-05-05 22:31:25 |

2021-05-05 22:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-05 22:31:25 | ------------------------------------

2021-05-05 22:31:25 | [Mutex] isItemNotified: node_wshuml0203:exists :: false

2021-05-05 22:31:25 | [Mutex] waiting for: [node_wshuml0203:create_node]

2021-05-05 22:31:25 | [Mutex] received everything.

2021-05-05 22:31:25 | [Mutex] isItemNotified: node_wshuml0203:create_node:success :: true

2021-05-05 22:31:25 | [Mutex] waiting for: [node_wshuml0203:subscribe_node]

2021-05-05 22:31:25 | [Mutex] waiting for: [node_wshuml0203:subscribe_node]

2021-05-05 22:31:25 | [Mutex] received everything.

2021-05-05 22:31:25 | [Mutex] isItemNotified: node_wshuml0203:subscribe_node:success :: true

2021-05-05 22:31:25 |


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


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

2021-05-05 22:31:25 | command: <data><node>node_wshuml0203</node><entry><content>content_gxhc9j0204</content></entry></data>

2021-05-05 22:31:25 | target: http://localhost:8088

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

2021-05-05 22:31:25 | entity: <data><node>node_wshuml0203</node><entry><content>content_gxhc9j0204</content></entry></data>

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

2021-05-05 22:31:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29a182ed-c78e-4dd2-8263-88c4ab8db34b</value></item-id></result>

2021-05-05 22:31:25 | contains: true

2021-05-05 22:31:25 | [Mutex] received everything.

2021-05-05 22:31:25 | [Mutex] isItemNotified: user_regularees2pq0202@test-domain.com:message:received:content_gxhc9j0204 :: true

2021-05-05 22:31:25 |


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


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

2021-05-05 22:31:25 | command: <data><node>node_wshuml0203</node><expire-at>2021-05-06T05:31:20Z</expire-at><entry><content>content_7467zh0205</content></entry></data>

2021-05-05 22:31:25 | target: http://localhost:8088

2021-05-05 22:31:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-05 22:31:25 | entity: <data><node>node_wshuml0203</node><expire-at>2021-05-06T05:31:20Z</expire-at><entry><content>content_7467zh0205</content></entry></data>

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

2021-05-05 22:31:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cff737ff-624f-40db-ad72-6aa4b4466cff</value></item-id></result>

2021-05-05 22:31:25 | contains: true

2021-05-05 22:31:25 | [Mutex] waiting for: [user_regularees2pq0202@test-domain.com:message:received:content_7467zh0205]

2021-05-05 22:31:40 | [Mutex] timeout. Not received [user_regularees2pq0202@test-domain.com:message:received:content_7467zh0205]

2021-05-05 22:31:40 | [Mutex] isItemNotified: user_regularees2pq0202@test-domain.com:message:received:content_7467zh0205 :: false

2021-05-05 22:31:40 |


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


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

2021-05-05 22:31:40 | command: <data><node>node_wshuml0203</node><entry><content>content_4nvqto0206</content></entry></data>

2021-05-05 22:31:40 | target: http://localhost:8088

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

2021-05-05 22:31:40 | entity: <data><node>node_wshuml0203</node><entry><content>content_4nvqto0206</content></entry></data>

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

2021-05-05 22:31:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cfbac53d-8919-4e41-a09d-fb8dc18ccd3f</value></item-id></result>

2021-05-05 22:31:40 | contains: true

2021-05-05 22:31:45 | [Mutex] waiting for: [user_regularees2pq0202@test-domain.com:message:received:content_4nvqto0206]

2021-05-05 22:31:45 | [Mutex] received everything.

2021-05-05 22:31:45 | [Mutex] isItemNotified: user_regularees2pq0202@test-domain.com:message:received:content_4nvqto0206 :: true

2021-05-05 22:31:45 |


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


2021-05-05 22:31:45 | [Mutex] received everything.

2021-05-05 22:31:45 | [Mutex] isItemNotified: node_wshuml0203:subscribe_node:success :: true

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

2021-05-05 22:31:45 | command: <data><node>node_wshuml0203</node><expire-at>2021-05-06T05:31:50Z</expire-at><entry><content>content_sh0fvt0207</content></entry></data>

2021-05-05 22:31:45 | target: http://localhost:8088

2021-05-05 22:31:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-05 22:31:45 | entity: <data><node>node_wshuml0203</node><expire-at>2021-05-06T05:31:50Z</expire-at><entry><content>content_sh0fvt0207</content></entry></data>

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

2021-05-05 22:31:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4f4f61d-1304-497c-a91a-aff956afe631</value></item-id></result>

2021-05-05 22:31:45 | contains: true

2021-05-05 22:31:53 | [Mutex] waiting for: [user_regularees2pq0202@test-domain.com:message:received:content_sh0fvt0207]

2021-05-05 22:31:53 | [Mutex] waiting for: [user_regularees2pq0202@test-domain.com:message:received:content_sh0fvt0207]

2021-05-05 22:31:53 | [Mutex] waiting for: [user_regularees2pq0202@test-domain.com:message:received:content_sh0fvt0207]

2021-05-05 22:32:08 | [Mutex] timeout. Not received [user_regularees2pq0202@test-domain.com:message:received:content_sh0fvt0207]

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

2021-05-05 22:32:08 | [Mutex] isItemNotified: user_regularees2pq0202@test-domain.com:message:received:content_sh0fvt0207 :: false

2021-05-05 22:32:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sh0fvt0207 :: true