Generated by TestNG with ReportNG at 23:01 PDT on Sunday 03 October 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.063s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.686s
2021-10-03 23:16:09 |

2021-10-03 23:16:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-03 23:16:09 | ------------------------------------

2021-10-03 23:16:09 | [Mutex] isItemNotified: node_w1x86b0203:exists :: false

2021-10-03 23:16:09 | [Mutex] waiting for: [node_w1x86b0203:create_node]

2021-10-03 23:16:09 | [Mutex] received everything.

2021-10-03 23:16:09 | [Mutex] isItemNotified: node_w1x86b0203:create_node:success :: true

2021-10-03 23:16:09 | [Mutex] waiting for: [node_w1x86b0203:subscribe_node]

2021-10-03 23:16:09 | [Mutex] waiting for: [node_w1x86b0203:subscribe_node]

2021-10-03 23:16:09 | [Mutex] received everything.

2021-10-03 23:16:09 | [Mutex] isItemNotified: node_w1x86b0203:subscribe_node:success :: true

2021-10-03 23:16:09 |


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


2021-10-03 23:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:16:09 | command: <data><node>node_w1x86b0203</node><entry><content>content_qfngd00204</content></entry></data>

2021-10-03 23:16:09 | target: http://localhost:8088

2021-10-03 23:16:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 23:16:09 | entity: <data><node>node_w1x86b0203</node><entry><content>content_qfngd00204</content></entry></data>

2021-10-03 23:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ebd20f0f-6a65-43dd-b793-10809c180d46</value></item-id></result>

2021-10-03 23:16:09 | contains: true

2021-10-03 23:16:09 | [Mutex] received everything.

2021-10-03 23:16:09 | [Mutex] isItemNotified: user_regular6uxpbh0202@test-domain.com:message:received:content_qfngd00204 :: true

2021-10-03 23:16:09 |


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


2021-10-03 23:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:16:09 | command: <data><node>node_w1x86b0203</node><expire-at>2021-10-04T06:16:04Z</expire-at><entry><content>content_hfk3cs0205</content></entry></data>

2021-10-03 23:16:09 | target: http://localhost:8088

2021-10-03 23:16:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 23:16:09 | entity: <data><node>node_w1x86b0203</node><expire-at>2021-10-04T06:16:04Z</expire-at><entry><content>content_hfk3cs0205</content></entry></data>

2021-10-03 23:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4694cfe5-4f59-4d62-8522-4443ad51d03d</value></item-id></result>

2021-10-03 23:16:09 | contains: true

2021-10-03 23:16:09 | [Mutex] waiting for: [user_regular6uxpbh0202@test-domain.com:message:received:content_hfk3cs0205]

2021-10-03 23:16:24 | [Mutex] timeout. Not received [user_regular6uxpbh0202@test-domain.com:message:received:content_hfk3cs0205]

2021-10-03 23:16:24 | [Mutex] isItemNotified: user_regular6uxpbh0202@test-domain.com:message:received:content_hfk3cs0205 :: false

2021-10-03 23:16:24 |


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


2021-10-03 23:16:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:16:24 | command: <data><node>node_w1x86b0203</node><entry><content>content_e7u18p0206</content></entry></data>

2021-10-03 23:16:24 | target: http://localhost:8088

2021-10-03 23:16:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-03 23:16:24 | entity: <data><node>node_w1x86b0203</node><entry><content>content_e7u18p0206</content></entry></data>

2021-10-03 23:16:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:16:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:16:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9adeeeec-f54e-4cea-9f15-bd4066cdf61a</value></item-id></result>

2021-10-03 23:16:24 | contains: true

2021-10-03 23:16:30 | [Mutex] waiting for: [user_regular6uxpbh0202@test-domain.com:message:received:content_e7u18p0206]

2021-10-03 23:16:30 | [Mutex] received everything.

2021-10-03 23:16:30 | [Mutex] isItemNotified: user_regular6uxpbh0202@test-domain.com:message:received:content_e7u18p0206 :: true

2021-10-03 23:16:30 |


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


2021-10-03 23:16:30 | [Mutex] received everything.

2021-10-03 23:16:30 | [Mutex] isItemNotified: node_w1x86b0203:subscribe_node:success :: true

2021-10-03 23:16:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-03 23:16:30 | command: <data><node>node_w1x86b0203</node><expire-at>2021-10-04T06:16:35Z</expire-at><entry><content>content_oy5ob90207</content></entry></data>

2021-10-03 23:16:30 | target: http://localhost:8088

2021-10-03 23:16:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-03 23:16:30 | entity: <data><node>node_w1x86b0203</node><expire-at>2021-10-04T06:16:35Z</expire-at><entry><content>content_oy5ob90207</content></entry></data>

2021-10-03 23:16:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 06:16:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-03 23:16:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2d341039-aaae-4b88-a4fd-b3954586492a</value></item-id></result>

2021-10-03 23:16:30 | contains: true

2021-10-03 23:16:38 | [Mutex] waiting for: [user_regular6uxpbh0202@test-domain.com:message:received:content_oy5ob90207]

2021-10-03 23:16:53 | [Mutex] timeout. Not received [user_regular6uxpbh0202@test-domain.com:message:received:content_oy5ob90207]

2021-10-03 23:16:53 | [Mutex] received everything.

2021-10-03 23:16:53 | [Mutex] isItemNotified: user_regular6uxpbh0202@test-domain.com:message:received:content_oy5ob90207 :: false

2021-10-03 23:16:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oy5ob90207 :: true