Generated by TestNG with ReportNG at 22:31 PDT on Wednesday 02 September 2020
root@1415041f34dc / 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.537s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.781s
2020-09-02 22:47:38 |

2020-09-02 22:47:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-02 22:47:38 | ------------------------------------

2020-09-02 22:47:38 | [Mutex] isItemNotified: node_p9vg020203:exists :: false

2020-09-02 22:47:38 | [Mutex] waiting for: [node_p9vg020203:create_node]

2020-09-02 22:47:38 | [Mutex] received everything.

2020-09-02 22:47:38 | [Mutex] isItemNotified: node_p9vg020203:create_node:success :: true

2020-09-02 22:47:38 | [Mutex] waiting for: [node_p9vg020203:subscribe_node]

2020-09-02 22:47:38 | [Mutex] waiting for: [node_p9vg020203:subscribe_node]

2020-09-02 22:47:38 | [Mutex] received everything.

2020-09-02 22:47:38 | [Mutex] isItemNotified: node_p9vg020203:subscribe_node:success :: true

2020-09-02 22:47:38 |


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


2020-09-02 22:47:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 22:47:38 | command: <data><node>node_p9vg020203</node><entry><content>content_akwnit0204</content></entry></data>

2020-09-02 22:47:38 | target: http://localhost:8088

2020-09-02 22:47:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 22:47:38 | entity: <data><node>node_p9vg020203</node><entry><content>content_akwnit0204</content></entry></data>

2020-09-02 22:47:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:47:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 22:47:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d138c694-f895-4182-bde2-510d15e9ec0b</value></item-id></result>

2020-09-02 22:47:38 | contains: true

2020-09-02 22:47:38 | [Mutex] received everything.

2020-09-02 22:47:38 | [Mutex] isItemNotified: user_regulargnm0zk0202@test-domain.com:message:received:content_akwnit0204 :: true

2020-09-02 22:47:38 |


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


2020-09-02 22:47:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 22:47:38 | command: <data><node>node_p9vg020203</node><expire-at>2020-09-03T05:47:33Z</expire-at><entry><content>content_kna1pa0205</content></entry></data>

2020-09-02 22:47:38 | target: http://localhost:8088

2020-09-02 22:47:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 22:47:38 | entity: <data><node>node_p9vg020203</node><expire-at>2020-09-03T05:47:33Z</expire-at><entry><content>content_kna1pa0205</content></entry></data>

2020-09-02 22:47:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:47:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 22:47:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd5c75f3-dc2d-479d-b1c8-10b7c1168119</value></item-id></result>

2020-09-02 22:47:39 | contains: true

2020-09-02 22:47:39 | [Mutex] waiting for: [user_regulargnm0zk0202@test-domain.com:message:received:content_kna1pa0205]

2020-09-02 22:47:54 | [Mutex] timeout. Not received [user_regulargnm0zk0202@test-domain.com:message:received:content_kna1pa0205]

2020-09-02 22:47:54 | [Mutex] isItemNotified: user_regulargnm0zk0202@test-domain.com:message:received:content_kna1pa0205 :: false

2020-09-02 22:47:54 |


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


2020-09-02 22:47:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 22:47:54 | command: <data><node>node_p9vg020203</node><entry><content>content_7ferh50206</content></entry></data>

2020-09-02 22:47:54 | target: http://localhost:8088

2020-09-02 22:47:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 22:47:54 | entity: <data><node>node_p9vg020203</node><entry><content>content_7ferh50206</content></entry></data>

2020-09-02 22:47:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:47:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 22:47:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d6489a7-0618-4187-9e1d-cb76f18e6235</value></item-id></result>

2020-09-02 22:47:54 | contains: true

2020-09-02 22:47:59 | [Mutex] waiting for: [user_regulargnm0zk0202@test-domain.com:message:received:content_7ferh50206]

2020-09-02 22:47:59 | [Mutex] received everything.

2020-09-02 22:47:59 | [Mutex] isItemNotified: user_regulargnm0zk0202@test-domain.com:message:received:content_7ferh50206 :: true

2020-09-02 22:47:59 |


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


2020-09-02 22:47:59 | [Mutex] received everything.

2020-09-02 22:47:59 | [Mutex] isItemNotified: node_p9vg020203:subscribe_node:success :: true

2020-09-02 22:47:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-02 22:47:59 | command: <data><node>node_p9vg020203</node><expire-at>2020-09-03T05:48:04Z</expire-at><entry><content>content_d34hih0207</content></entry></data>

2020-09-02 22:47:59 | target: http://localhost:8088

2020-09-02 22:47:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-02 22:47:59 | entity: <data><node>node_p9vg020203</node><expire-at>2020-09-03T05:48:04Z</expire-at><entry><content>content_d34hih0207</content></entry></data>

2020-09-02 22:47:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:47:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 22:47:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af37e984-c368-4265-b755-7bbabfc0d0fe</value></item-id></result>

2020-09-02 22:47:59 | contains: true

2020-09-02 22:48:07 | [Mutex] waiting for: [user_regulargnm0zk0202@test-domain.com:message:received:content_d34hih0207]

2020-09-02 22:48:07 | [Mutex] waiting for: [user_regulargnm0zk0202@test-domain.com:message:received:content_d34hih0207]

2020-09-02 22:48:07 | [Mutex] waiting for: [user_regulargnm0zk0202@test-domain.com:message:received:content_d34hih0207]

2020-09-02 22:48:22 | [Mutex] timeout. Not received [user_regulargnm0zk0202@test-domain.com:message:received:content_d34hih0207]

2020-09-02 22:48:22 | [Mutex] received everything.

2020-09-02 22:48:22 | [Mutex] isItemNotified: user_regulargnm0zk0202@test-domain.com:message:received:content_d34hih0207 :: false

2020-09-02 22:48:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d34hih0207 :: true