Generated by TestNG with ReportNG at 22:51 PDT on Thursday 27 May 2021
root@b2c2a8eba6e6 / 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.342s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.674s
2021-05-27 23:07:03 |

2021-05-27 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-27 23:07:03 | ------------------------------------

2021-05-27 23:07:03 | [Mutex] isItemNotified: node_lpg1uy0203:exists :: false

2021-05-27 23:07:03 | [Mutex] waiting for: [node_lpg1uy0203:create_node]

2021-05-27 23:07:03 | [Mutex] received everything.

2021-05-27 23:07:03 | [Mutex] isItemNotified: node_lpg1uy0203:create_node:success :: true

2021-05-27 23:07:03 | [Mutex] waiting for: [node_lpg1uy0203:subscribe_node]

2021-05-27 23:07:03 | [Mutex] waiting for: [node_lpg1uy0203:subscribe_node]

2021-05-27 23:07:03 | [Mutex] received everything.

2021-05-27 23:07:03 | [Mutex] isItemNotified: node_lpg1uy0203:subscribe_node:success :: true

2021-05-27 23:07:03 |


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


2021-05-27 23:07:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 23:07:03 | command: <data><node>node_lpg1uy0203</node><entry><content>content_x7es6l0204</content></entry></data>

2021-05-27 23:07:03 | target: http://localhost:8088

2021-05-27 23:07:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 23:07:03 | entity: <data><node>node_lpg1uy0203</node><entry><content>content_x7es6l0204</content></entry></data>

2021-05-27 23:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:07:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 23:07:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7952c4b6-60a3-4ac8-b0c7-4be4c0160988</value></item-id></result>

2021-05-27 23:07:03 | contains: true

2021-05-27 23:07:03 | [Mutex] waiting for: [user_regular51nst0202@test-domain.com:message:received:content_x7es6l0204]

2021-05-27 23:07:03 | [Mutex] received everything.

2021-05-27 23:07:03 | [Mutex] isItemNotified: user_regular51nst0202@test-domain.com:message:received:content_x7es6l0204 :: true

2021-05-27 23:07:03 |


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


2021-05-27 23:07:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 23:07:03 | command: <data><node>node_lpg1uy0203</node><expire-at>2021-05-28T06:06:58Z</expire-at><entry><content>content_d8wmwo0205</content></entry></data>

2021-05-27 23:07:03 | target: http://localhost:8088

2021-05-27 23:07:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 23:07:03 | entity: <data><node>node_lpg1uy0203</node><expire-at>2021-05-28T06:06:58Z</expire-at><entry><content>content_d8wmwo0205</content></entry></data>

2021-05-27 23:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:07:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 23:07:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd976a3b-b25d-4ff2-bd1b-35c07eaae78e</value></item-id></result>

2021-05-27 23:07:03 | contains: true

2021-05-27 23:07:03 | [Mutex] waiting for: [user_regular51nst0202@test-domain.com:message:received:content_d8wmwo0205]

2021-05-27 23:07:18 | [Mutex] timeout. Not received [user_regular51nst0202@test-domain.com:message:received:content_d8wmwo0205]

2021-05-27 23:07:18 | [Mutex] isItemNotified: user_regular51nst0202@test-domain.com:message:received:content_d8wmwo0205 :: false

2021-05-27 23:07:18 |


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


2021-05-27 23:07:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 23:07:18 | command: <data><node>node_lpg1uy0203</node><entry><content>content_3evywc0206</content></entry></data>

2021-05-27 23:07:18 | target: http://localhost:8088

2021-05-27 23:07:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 23:07:18 | entity: <data><node>node_lpg1uy0203</node><entry><content>content_3evywc0206</content></entry></data>

2021-05-27 23:07:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:07:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 23:07:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94de4565-7f1f-42f2-bb65-c518e19a8960</value></item-id></result>

2021-05-27 23:07:18 | contains: true

2021-05-27 23:07:23 | [Mutex] waiting for: [user_regular51nst0202@test-domain.com:message:received:content_3evywc0206]

2021-05-27 23:07:23 | [Mutex] received everything.

2021-05-27 23:07:23 | [Mutex] isItemNotified: user_regular51nst0202@test-domain.com:message:received:content_3evywc0206 :: true

2021-05-27 23:07:23 |


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


2021-05-27 23:07:23 | [Mutex] received everything.

2021-05-27 23:07:23 | [Mutex] isItemNotified: node_lpg1uy0203:subscribe_node:success :: true

2021-05-27 23:07:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 23:07:23 | command: <data><node>node_lpg1uy0203</node><expire-at>2021-05-28T06:07:28Z</expire-at><entry><content>content_2cdgm30207</content></entry></data>

2021-05-27 23:07:23 | target: http://localhost:8088

2021-05-27 23:07:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 23:07:23 | entity: <data><node>node_lpg1uy0203</node><expire-at>2021-05-28T06:07:28Z</expire-at><entry><content>content_2cdgm30207</content></entry></data>

2021-05-27 23:07:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 06:07:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 23:07:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>320a39fd-9322-4666-bad1-825a35025062</value></item-id></result>

2021-05-27 23:07:23 | contains: true

2021-05-27 23:07:31 | [Mutex] waiting for: [user_regular51nst0202@test-domain.com:message:received:content_2cdgm30207]

2021-05-27 23:07:46 | [Mutex] timeout. Not received [user_regular51nst0202@test-domain.com:message:received:content_2cdgm30207]

2021-05-27 23:07:46 | [Mutex] received everything.

2021-05-27 23:07:46 | [Mutex] isItemNotified: user_regular51nst0202@test-domain.com:message:received:content_2cdgm30207 :: false

2021-05-27 23:07:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2cdgm30207 :: true