Generated by TestNG with ReportNG at 23:28 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.546s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.725s
2020-09-19 23:42:58 |

2020-09-19 23:42:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-19 23:42:58 | ------------------------------------

2020-09-19 23:42:58 | [Mutex] isItemNotified: node_d3aku20203:exists :: false

2020-09-19 23:42:58 | [Mutex] waiting for: [node_d3aku20203:create_node]

2020-09-19 23:42:59 | [Mutex] waiting for: [node_d3aku20203:create_node]

2020-09-19 23:42:59 | [Mutex] received everything.

2020-09-19 23:42:59 | [Mutex] isItemNotified: node_d3aku20203:create_node:success :: true

2020-09-19 23:42:59 | [Mutex] waiting for: [node_d3aku20203:subscribe_node]

2020-09-19 23:42:59 | [Mutex] waiting for: [node_d3aku20203:subscribe_node]

2020-09-19 23:42:59 | [Mutex] received everything.

2020-09-19 23:42:59 | [Mutex] isItemNotified: node_d3aku20203:subscribe_node:success :: true

2020-09-19 23:42:59 |


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


2020-09-19 23:42:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:42:59 | command: <data><node>node_d3aku20203</node><entry><content>content_7cf0we0204</content></entry></data>

2020-09-19 23:42:59 | target: http://localhost:8088

2020-09-19 23:42:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 23:42:59 | entity: <data><node>node_d3aku20203</node><entry><content>content_7cf0we0204</content></entry></data>

2020-09-19 23:42:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:42:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:42:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>034e8077-ef11-46c4-bb4f-7f8039fc6df3</value></item-id></result>

2020-09-19 23:42:59 | contains: true

2020-09-19 23:42:59 | [Mutex] received everything.

2020-09-19 23:42:59 | [Mutex] isItemNotified: user_regular8a6ko10202@test-domain.com:message:received:content_7cf0we0204 :: true

2020-09-19 23:42:59 |


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


2020-09-19 23:42:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:42:59 | command: <data><node>node_d3aku20203</node><expire-at>2020-09-20T06:42:54Z</expire-at><entry><content>content_xf9vdz0205</content></entry></data>

2020-09-19 23:42:59 | target: http://localhost:8088

2020-09-19 23:42:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 23:42:59 | entity: <data><node>node_d3aku20203</node><expire-at>2020-09-20T06:42:54Z</expire-at><entry><content>content_xf9vdz0205</content></entry></data>

2020-09-19 23:42:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:42:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:42:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>53f99a13-8822-411a-9b82-05259e2163ae</value></item-id></result>

2020-09-19 23:42:59 | contains: true

2020-09-19 23:42:59 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_xf9vdz0205]

2020-09-19 23:43:14 | [Mutex] timeout. Not received [user_regular8a6ko10202@test-domain.com:message:received:content_xf9vdz0205]

2020-09-19 23:43:14 | [Mutex] isItemNotified: user_regular8a6ko10202@test-domain.com:message:received:content_xf9vdz0205 :: false

2020-09-19 23:43:14 |


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


2020-09-19 23:43:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:43:14 | command: <data><node>node_d3aku20203</node><entry><content>content_72kctx0206</content></entry></data>

2020-09-19 23:43:14 | target: http://localhost:8088

2020-09-19 23:43:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 23:43:14 | entity: <data><node>node_d3aku20203</node><entry><content>content_72kctx0206</content></entry></data>

2020-09-19 23:43:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:43:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:43:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b0db44d7-787b-4bad-8adc-69712f56aff3</value></item-id></result>

2020-09-19 23:43:14 | contains: true

2020-09-19 23:43:19 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_72kctx0206]

2020-09-19 23:43:19 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_72kctx0206]

2020-09-19 23:43:19 | [Mutex] received everything.

2020-09-19 23:43:19 | [Mutex] isItemNotified: user_regular8a6ko10202@test-domain.com:message:received:content_72kctx0206 :: true

2020-09-19 23:43:19 |


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


2020-09-19 23:43:19 | [Mutex] received everything.

2020-09-19 23:43:19 | [Mutex] isItemNotified: node_d3aku20203:subscribe_node:success :: true

2020-09-19 23:43:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:43:19 | command: <data><node>node_d3aku20203</node><expire-at>2020-09-20T06:43:24Z</expire-at><entry><content>content_3m70x90207</content></entry></data>

2020-09-19 23:43:19 | target: http://localhost:8088

2020-09-19 23:43:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 23:43:19 | entity: <data><node>node_d3aku20203</node><expire-at>2020-09-20T06:43:24Z</expire-at><entry><content>content_3m70x90207</content></entry></data>

2020-09-19 23:43:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:43:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:43:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7fce0e7b-07ca-42e7-9dae-c1f26f158c77</value></item-id></result>

2020-09-19 23:43:19 | contains: true

2020-09-19 23:43:27 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_3m70x90207]

2020-09-19 23:43:27 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_3m70x90207]

2020-09-19 23:43:27 | [Mutex] waiting for: [user_regular8a6ko10202@test-domain.com:message:received:content_3m70x90207]

2020-09-19 23:43:42 | [Mutex] timeout. Not received [user_regular8a6ko10202@test-domain.com:message:received:content_3m70x90207]

2020-09-19 23:43:42 | [Mutex] received everything.

2020-09-19 23:43:42 | [Mutex] isItemNotified: user_regular8a6ko10202@test-domain.com:message:received:content_3m70x90207 :: false

2020-09-19 23:43:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3m70x90207 :: true