Generated by TestNG with ReportNG at 22:23 PDT on Monday 05 October 2020
root@eaa73862192b / 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.174s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.624s
2020-10-05 22:38:52 |

2020-10-05 22:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-05 22:38:52 | ------------------------------------

2020-10-05 22:38:52 | [Mutex] isItemNotified: node_wtyi960203:exists :: false

2020-10-05 22:38:52 | [Mutex] waiting for: [node_wtyi960203:create_node]

2020-10-05 22:38:52 | [Mutex] received everything.

2020-10-05 22:38:52 | [Mutex] isItemNotified: node_wtyi960203:create_node:success :: true

2020-10-05 22:38:52 | [Mutex] waiting for: [node_wtyi960203:subscribe_node]

2020-10-05 22:38:52 | [Mutex] waiting for: [node_wtyi960203:subscribe_node]

2020-10-05 22:38:52 | [Mutex] received everything.

2020-10-05 22:38:52 | [Mutex] isItemNotified: node_wtyi960203:subscribe_node:success :: true

2020-10-05 22:38:52 |


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


2020-10-05 22:38:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:38:52 | command: <data><node>node_wtyi960203</node><entry><content>content_5gfff60204</content></entry></data>

2020-10-05 22:38:52 | target: http://localhost:8088

2020-10-05 22:38:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:38:52 | entity: <data><node>node_wtyi960203</node><entry><content>content_5gfff60204</content></entry></data>

2020-10-05 22:38:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:38:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:38:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ddc18c1f-1a6d-475f-af88-41e3578af36b</value></item-id></result>

2020-10-05 22:38:52 | contains: true

2020-10-05 22:38:52 | [Mutex] received everything.

2020-10-05 22:38:52 | [Mutex] isItemNotified: user_regular7l1j630202@test-domain.com:message:received:content_5gfff60204 :: true

2020-10-05 22:38:52 |


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


2020-10-05 22:38:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:38:52 | command: <data><node>node_wtyi960203</node><expire-at>2020-10-06T05:38:47Z</expire-at><entry><content>content_pfwgol0205</content></entry></data>

2020-10-05 22:38:52 | target: http://localhost:8088

2020-10-05 22:38:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:38:52 | entity: <data><node>node_wtyi960203</node><expire-at>2020-10-06T05:38:47Z</expire-at><entry><content>content_pfwgol0205</content></entry></data>

2020-10-05 22:38:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:38:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:38:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28942cb3-fa56-4c4c-9e7d-802a6336782d</value></item-id></result>

2020-10-05 22:38:52 | contains: true

2020-10-05 22:38:52 | [Mutex] waiting for: [user_regular7l1j630202@test-domain.com:message:received:content_pfwgol0205]

2020-10-05 22:39:07 | [Mutex] timeout. Not received [user_regular7l1j630202@test-domain.com:message:received:content_pfwgol0205]

2020-10-05 22:39:07 | [Mutex] isItemNotified: user_regular7l1j630202@test-domain.com:message:received:content_pfwgol0205 :: false

2020-10-05 22:39:07 |


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


2020-10-05 22:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:39:07 | command: <data><node>node_wtyi960203</node><entry><content>content_c3unrm0206</content></entry></data>

2020-10-05 22:39:07 | target: http://localhost:8088

2020-10-05 22:39:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:39:07 | entity: <data><node>node_wtyi960203</node><entry><content>content_c3unrm0206</content></entry></data>

2020-10-05 22:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>76a14f1d-dcfb-452a-b413-7c924f43971d</value></item-id></result>

2020-10-05 22:39:07 | contains: true

2020-10-05 22:39:12 | [Mutex] waiting for: [user_regular7l1j630202@test-domain.com:message:received:content_c3unrm0206]

2020-10-05 22:39:12 | [Mutex] received everything.

2020-10-05 22:39:12 | [Mutex] isItemNotified: user_regular7l1j630202@test-domain.com:message:received:content_c3unrm0206 :: true

2020-10-05 22:39:12 |


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


2020-10-05 22:39:12 | [Mutex] received everything.

2020-10-05 22:39:12 | [Mutex] isItemNotified: node_wtyi960203:subscribe_node:success :: true

2020-10-05 22:39:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:39:12 | command: <data><node>node_wtyi960203</node><expire-at>2020-10-06T05:39:17Z</expire-at><entry><content>content_t392a60207</content></entry></data>

2020-10-05 22:39:12 | target: http://localhost:8088

2020-10-05 22:39:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:39:12 | entity: <data><node>node_wtyi960203</node><expire-at>2020-10-06T05:39:17Z</expire-at><entry><content>content_t392a60207</content></entry></data>

2020-10-05 22:39:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:39:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:39:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3fe8d71e-56d0-4851-8571-553d27f71559</value></item-id></result>

2020-10-05 22:39:12 | contains: true

2020-10-05 22:39:20 | [Mutex] waiting for: [user_regular7l1j630202@test-domain.com:message:received:content_t392a60207]

2020-10-05 22:39:35 | [Mutex] timeout. Not received [user_regular7l1j630202@test-domain.com:message:received:content_t392a60207]

2020-10-05 22:39:35 | [Mutex] received everything.

2020-10-05 22:39:35 | [Mutex] isItemNotified: user_regular7l1j630202@test-domain.com:message:received:content_t392a60207 :: false

2020-10-05 22:39:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t392a60207 :: true