Generated by TestNG with ReportNG at 22:43 PDT on Tuesday 25 May 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.921s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.679s
2021-05-25 22:59:34 |

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

2021-05-25 22:59:34 | ------------------------------------

2021-05-25 22:59:34 | [Mutex] isItemNotified: node_y33p370203:exists :: false

2021-05-25 22:59:34 | [Mutex] waiting for: [node_y33p370203:create_node]

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

2021-05-25 22:59:34 | [Mutex] isItemNotified: node_y33p370203:create_node:success :: true

2021-05-25 22:59:34 | [Mutex] waiting for: [node_y33p370203:subscribe_node]

2021-05-25 22:59:34 | [Mutex] waiting for: [node_y33p370203:subscribe_node]

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

2021-05-25 22:59:34 | [Mutex] isItemNotified: node_y33p370203:subscribe_node:success :: true

2021-05-25 22:59:34 |


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


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

2021-05-25 22:59:34 | command: <data><node>node_y33p370203</node><entry><content>content_4104a60204</content></entry></data>

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

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

2021-05-25 22:59:34 | entity: <data><node>node_y33p370203</node><entry><content>content_4104a60204</content></entry></data>

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

2021-05-25 22:59:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c70da3c-b5bb-4eb4-aafc-46a6c09f98af</value></item-id></result>

2021-05-25 22:59:34 | contains: true

2021-05-25 22:59:34 | [Mutex] waiting for: [user_regular6pjr3a0202@test-domain.com:message:received:content_4104a60204]

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

2021-05-25 22:59:34 | [Mutex] isItemNotified: user_regular6pjr3a0202@test-domain.com:message:received:content_4104a60204 :: true

2021-05-25 22:59:34 |


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


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

2021-05-25 22:59:34 | command: <data><node>node_y33p370203</node><expire-at>2021-05-26T05:59:29Z</expire-at><entry><content>content_9ip1gm0205</content></entry></data>

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

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

2021-05-25 22:59:34 | entity: <data><node>node_y33p370203</node><expire-at>2021-05-26T05:59:29Z</expire-at><entry><content>content_9ip1gm0205</content></entry></data>

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

2021-05-25 22:59:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a813f3b-e7b6-490b-b5a9-26303fd5da48</value></item-id></result>

2021-05-25 22:59:34 | contains: true

2021-05-25 22:59:34 | [Mutex] waiting for: [user_regular6pjr3a0202@test-domain.com:message:received:content_9ip1gm0205]

2021-05-25 22:59:49 | [Mutex] timeout. Not received [user_regular6pjr3a0202@test-domain.com:message:received:content_9ip1gm0205]

2021-05-25 22:59:49 | [Mutex] isItemNotified: user_regular6pjr3a0202@test-domain.com:message:received:content_9ip1gm0205 :: false

2021-05-25 22:59:49 |


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


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

2021-05-25 22:59:49 | command: <data><node>node_y33p370203</node><entry><content>content_55tyfh0206</content></entry></data>

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

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

2021-05-25 22:59:49 | entity: <data><node>node_y33p370203</node><entry><content>content_55tyfh0206</content></entry></data>

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

2021-05-25 22:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>663689d8-f49b-4ed9-b185-484211f4e075</value></item-id></result>

2021-05-25 22:59:49 | contains: true

2021-05-25 22:59:55 | [Mutex] waiting for: [user_regular6pjr3a0202@test-domain.com:message:received:content_55tyfh0206]

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

2021-05-25 22:59:55 | [Mutex] isItemNotified: user_regular6pjr3a0202@test-domain.com:message:received:content_55tyfh0206 :: true

2021-05-25 22:59:55 |


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


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

2021-05-25 22:59:55 | [Mutex] isItemNotified: node_y33p370203:subscribe_node:success :: true

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

2021-05-25 22:59:55 | command: <data><node>node_y33p370203</node><expire-at>2021-05-26T06:00:00Z</expire-at><entry><content>content_bz8nfe0207</content></entry></data>

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

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

2021-05-25 22:59:55 | entity: <data><node>node_y33p370203</node><expire-at>2021-05-26T06:00:00Z</expire-at><entry><content>content_bz8nfe0207</content></entry></data>

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

2021-05-25 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>333ec60e-a633-4780-b70c-f247f40ee28d</value></item-id></result>

2021-05-25 22:59:55 | contains: true

2021-05-25 23:00:03 | [Mutex] waiting for: [user_regular6pjr3a0202@test-domain.com:message:received:content_bz8nfe0207]

2021-05-25 23:00:18 | [Mutex] timeout. Not received [user_regular6pjr3a0202@test-domain.com:message:received:content_bz8nfe0207]

2021-05-25 23:00:18 | [Mutex] received everything.

2021-05-25 23:00:18 | [Mutex] isItemNotified: user_regular6pjr3a0202@test-domain.com:message:received:content_bz8nfe0207 :: false

2021-05-25 23:00:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bz8nfe0207 :: true