Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 28 April 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.597s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.686s
2021-04-28 22:29:14 |

2021-04-28 22:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-28 22:29:14 | ------------------------------------

2021-04-28 22:29:14 | [Mutex] isItemNotified: node_b7ebfz0203:exists :: false

2021-04-28 22:29:14 | [Mutex] waiting for: [node_b7ebfz0203:create_node]

2021-04-28 22:29:14 | [Mutex] received everything.

2021-04-28 22:29:14 | [Mutex] isItemNotified: node_b7ebfz0203:create_node:success :: true

2021-04-28 22:29:14 | [Mutex] waiting for: [node_b7ebfz0203:subscribe_node]

2021-04-28 22:29:14 | [Mutex] waiting for: [node_b7ebfz0203:subscribe_node]

2021-04-28 22:29:14 | [Mutex] received everything.

2021-04-28 22:29:14 | [Mutex] isItemNotified: node_b7ebfz0203:subscribe_node:success :: true

2021-04-28 22:29:14 |


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


2021-04-28 22:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:29:14 | command: <data><node>node_b7ebfz0203</node><entry><content>content_kfpq3b0204</content></entry></data>

2021-04-28 22:29:14 | target: http://localhost:8088

2021-04-28 22:29:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-28 22:29:14 | entity: <data><node>node_b7ebfz0203</node><entry><content>content_kfpq3b0204</content></entry></data>

2021-04-28 22:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30e53336-5622-4b4a-af41-54bd01b8d1f8</value></item-id></result>

2021-04-28 22:29:14 | contains: true

2021-04-28 22:29:14 | [Mutex] received everything.

2021-04-28 22:29:14 | [Mutex] isItemNotified: user_regular9yur410202@test-domain.com:message:received:content_kfpq3b0204 :: true

2021-04-28 22:29:14 |


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


2021-04-28 22:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:29:14 | command: <data><node>node_b7ebfz0203</node><expire-at>2021-04-29T05:29:09Z</expire-at><entry><content>content_xg7szz0205</content></entry></data>

2021-04-28 22:29:14 | target: http://localhost:8088

2021-04-28 22:29:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-28 22:29:14 | entity: <data><node>node_b7ebfz0203</node><expire-at>2021-04-29T05:29:09Z</expire-at><entry><content>content_xg7szz0205</content></entry></data>

2021-04-28 22:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>467aca92-47ae-4178-912f-b8582a604803</value></item-id></result>

2021-04-28 22:29:14 | contains: true

2021-04-28 22:29:14 | [Mutex] waiting for: [user_regular9yur410202@test-domain.com:message:received:content_xg7szz0205]

2021-04-28 22:29:29 | [Mutex] timeout. Not received [user_regular9yur410202@test-domain.com:message:received:content_xg7szz0205]

2021-04-28 22:29:29 | [Mutex] isItemNotified: user_regular9yur410202@test-domain.com:message:received:content_xg7szz0205 :: false

2021-04-28 22:29:29 |


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


2021-04-28 22:29:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:29:30 | command: <data><node>node_b7ebfz0203</node><entry><content>content_xbdzax0206</content></entry></data>

2021-04-28 22:29:30 | target: http://localhost:8088

2021-04-28 22:29:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-28 22:29:30 | entity: <data><node>node_b7ebfz0203</node><entry><content>content_xbdzax0206</content></entry></data>

2021-04-28 22:29:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:29:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:29:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0f8e419b-c924-46f6-8874-f66295f0b63c</value></item-id></result>

2021-04-28 22:29:30 | contains: true

2021-04-28 22:29:35 | [Mutex] waiting for: [user_regular9yur410202@test-domain.com:message:received:content_xbdzax0206]

2021-04-28 22:29:35 | [Mutex] waiting for: [user_regular9yur410202@test-domain.com:message:received:content_xbdzax0206]

2021-04-28 22:29:35 | [Mutex] received everything.

2021-04-28 22:29:35 | [Mutex] isItemNotified: user_regular9yur410202@test-domain.com:message:received:content_xbdzax0206 :: true

2021-04-28 22:29:35 |


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


2021-04-28 22:29:35 | [Mutex] received everything.

2021-04-28 22:29:35 | [Mutex] isItemNotified: node_b7ebfz0203:subscribe_node:success :: true

2021-04-28 22:29:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-28 22:29:35 | command: <data><node>node_b7ebfz0203</node><expire-at>2021-04-29T05:29:40Z</expire-at><entry><content>content_rip0ac0207</content></entry></data>

2021-04-28 22:29:35 | target: http://localhost:8088

2021-04-28 22:29:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-28 22:29:35 | entity: <data><node>node_b7ebfz0203</node><expire-at>2021-04-29T05:29:40Z</expire-at><entry><content>content_rip0ac0207</content></entry></data>

2021-04-28 22:29:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:29:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-28 22:29:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>038b99f0-ecd0-434d-b2d1-4ec167e3ad76</value></item-id></result>

2021-04-28 22:29:35 | contains: true

2021-04-28 22:29:43 | [Mutex] waiting for: [user_regular9yur410202@test-domain.com:message:received:content_rip0ac0207]

2021-04-28 22:29:58 | [Mutex] timeout. Not received [user_regular9yur410202@test-domain.com:message:received:content_rip0ac0207]

2021-04-28 22:29:58 | [Mutex] received everything.

2021-04-28 22:29:58 | [Mutex] isItemNotified: user_regular9yur410202@test-domain.com:message:received:content_rip0ac0207 :: false

2021-04-28 22:29:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rip0ac0207 :: true