Generated by TestNG with ReportNG at 22:50 PDT on Friday 02 October 2020
root@43fec6d4badf / 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.386s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.746s
2020-10-02 23:05:20 |

2020-10-02 23:05:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-02 23:05:20 | ------------------------------------

2020-10-02 23:05:20 | [Mutex] isItemNotified: node_k6ftco0203:exists :: false

2020-10-02 23:05:20 | [Mutex] waiting for: [node_k6ftco0203:create_node]

2020-10-02 23:05:20 | [Mutex] received everything.

2020-10-02 23:05:20 | [Mutex] isItemNotified: node_k6ftco0203:create_node:success :: true

2020-10-02 23:05:20 | [Mutex] waiting for: [node_k6ftco0203:subscribe_node]

2020-10-02 23:05:20 | [Mutex] waiting for: [node_k6ftco0203:subscribe_node]

2020-10-02 23:05:20 | [Mutex] received everything.

2020-10-02 23:05:20 | [Mutex] isItemNotified: node_k6ftco0203:subscribe_node:success :: true

2020-10-02 23:05:20 |


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


2020-10-02 23:05:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 23:05:20 | command: <data><node>node_k6ftco0203</node><entry><content>content_rnl3ky0204</content></entry></data>

2020-10-02 23:05:20 | target: http://localhost:8088

2020-10-02 23:05:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-02 23:05:20 | entity: <data><node>node_k6ftco0203</node><entry><content>content_rnl3ky0204</content></entry></data>

2020-10-02 23:05:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:05:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 23:05:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f483bc9-bb4f-4b37-b4b8-767720974835</value></item-id></result>

2020-10-02 23:05:20 | contains: true

2020-10-02 23:05:20 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_rnl3ky0204]

2020-10-02 23:05:20 | [Mutex] received everything.

2020-10-02 23:05:20 | [Mutex] isItemNotified: user_regular31aqwn0202@test-domain.com:message:received:content_rnl3ky0204 :: true

2020-10-02 23:05:20 |


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


2020-10-02 23:05:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 23:05:20 | command: <data><node>node_k6ftco0203</node><expire-at>2020-10-03T06:05:15Z</expire-at><entry><content>content_dspfgi0205</content></entry></data>

2020-10-02 23:05:20 | target: http://localhost:8088

2020-10-02 23:05:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-02 23:05:20 | entity: <data><node>node_k6ftco0203</node><expire-at>2020-10-03T06:05:15Z</expire-at><entry><content>content_dspfgi0205</content></entry></data>

2020-10-02 23:05:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:05:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 23:05:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d682b285-14c8-495a-bb69-f2bdcfee5716</value></item-id></result>

2020-10-02 23:05:20 | contains: true

2020-10-02 23:05:20 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_dspfgi0205]

2020-10-02 23:05:35 | [Mutex] timeout. Not received [user_regular31aqwn0202@test-domain.com:message:received:content_dspfgi0205]

2020-10-02 23:05:35 | [Mutex] isItemNotified: user_regular31aqwn0202@test-domain.com:message:received:content_dspfgi0205 :: false

2020-10-02 23:05:35 |


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


2020-10-02 23:05:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 23:05:35 | command: <data><node>node_k6ftco0203</node><entry><content>content_a38yk70206</content></entry></data>

2020-10-02 23:05:35 | target: http://localhost:8088

2020-10-02 23:05:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-02 23:05:35 | entity: <data><node>node_k6ftco0203</node><entry><content>content_a38yk70206</content></entry></data>

2020-10-02 23:05:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:05:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 23:05:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>607b5431-f557-4f13-a440-43e20d190a09</value></item-id></result>

2020-10-02 23:05:35 | contains: true

2020-10-02 23:05:41 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_a38yk70206]

2020-10-02 23:05:41 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_a38yk70206]

2020-10-02 23:05:41 | [Mutex] received everything.

2020-10-02 23:05:41 | [Mutex] isItemNotified: user_regular31aqwn0202@test-domain.com:message:received:content_a38yk70206 :: true

2020-10-02 23:05:41 |


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


2020-10-02 23:05:41 | [Mutex] received everything.

2020-10-02 23:05:41 | [Mutex] isItemNotified: node_k6ftco0203:subscribe_node:success :: true

2020-10-02 23:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 23:05:41 | command: <data><node>node_k6ftco0203</node><expire-at>2020-10-03T06:05:46Z</expire-at><entry><content>content_kncnpw0207</content></entry></data>

2020-10-02 23:05:41 | target: http://localhost:8088

2020-10-02 23:05:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-02 23:05:41 | entity: <data><node>node_k6ftco0203</node><expire-at>2020-10-03T06:05:46Z</expire-at><entry><content>content_kncnpw0207</content></entry></data>

2020-10-02 23:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 06:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 23:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>740b98a3-ad69-407f-b1f9-6557fa42ac43</value></item-id></result>

2020-10-02 23:05:41 | contains: true

2020-10-02 23:05:49 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_kncnpw0207]

2020-10-02 23:05:49 | [Mutex] waiting for: [user_regular31aqwn0202@test-domain.com:message:received:content_kncnpw0207]

2020-10-02 23:06:04 | [Mutex] timeout. Not received [user_regular31aqwn0202@test-domain.com:message:received:content_kncnpw0207]

2020-10-02 23:06:04 | [Mutex] received everything.

2020-10-02 23:06:04 | [Mutex] isItemNotified: user_regular31aqwn0202@test-domain.com:message:received:content_kncnpw0207 :: false

2020-10-02 23:06:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kncnpw0207 :: true