Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 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.440s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.675s
2021-12-05 21:44:01 |

2021-12-05 21:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-05 21:44:01 | ------------------------------------

2021-12-05 21:44:01 | [Mutex] isItemNotified: node_lawjmu0203:exists :: false

2021-12-05 21:44:01 | [Mutex] waiting for: [node_lawjmu0203:create_node]

2021-12-05 21:44:01 | [Mutex] received everything.

2021-12-05 21:44:01 | [Mutex] isItemNotified: node_lawjmu0203:create_node:success :: true

2021-12-05 21:44:01 | [Mutex] waiting for: [node_lawjmu0203:subscribe_node]

2021-12-05 21:44:01 | [Mutex] received everything.

2021-12-05 21:44:01 | [Mutex] isItemNotified: node_lawjmu0203:subscribe_node:success :: true

2021-12-05 21:44:01 |


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


2021-12-05 21:44:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:01 | command: <data><node>node_lawjmu0203</node><entry><content>content_x5jfz80204</content></entry></data>

2021-12-05 21:44:01 | target: http://localhost:8088

2021-12-05 21:44:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:44:01 | entity: <data><node>node_lawjmu0203</node><entry><content>content_x5jfz80204</content></entry></data>

2021-12-05 21:44:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7b610a76-eed9-4bd3-b7da-3186dad6e49b</value></item-id></result>

2021-12-05 21:44:01 | contains: true

2021-12-05 21:44:01 | [Mutex] received everything.

2021-12-05 21:44:01 | [Mutex] isItemNotified: user_regular7nvzbu0202@test-domain.com:message:received:content_x5jfz80204 :: true

2021-12-05 21:44:01 |


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


2021-12-05 21:44:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:01 | command: <data><node>node_lawjmu0203</node><expire-at>2021-12-06T05:43:56Z</expire-at><entry><content>content_2gvar80205</content></entry></data>

2021-12-05 21:44:01 | target: http://localhost:8088

2021-12-05 21:44:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 21:44:01 | entity: <data><node>node_lawjmu0203</node><expire-at>2021-12-06T05:43:56Z</expire-at><entry><content>content_2gvar80205</content></entry></data>

2021-12-05 21:44:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00e9d448-b50f-4ae1-b7e2-53a46979979c</value></item-id></result>

2021-12-05 21:44:02 | contains: true

2021-12-05 21:44:02 | [Mutex] waiting for: [user_regular7nvzbu0202@test-domain.com:message:received:content_2gvar80205]

2021-12-05 21:44:17 | [Mutex] timeout. Not received [user_regular7nvzbu0202@test-domain.com:message:received:content_2gvar80205]

2021-12-05 21:44:17 | [Mutex] isItemNotified: user_regular7nvzbu0202@test-domain.com:message:received:content_2gvar80205 :: false

2021-12-05 21:44:17 |


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


2021-12-05 21:44:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:17 | command: <data><node>node_lawjmu0203</node><entry><content>content_yowr3l0206</content></entry></data>

2021-12-05 21:44:17 | target: http://localhost:8088

2021-12-05 21:44:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 21:44:17 | entity: <data><node>node_lawjmu0203</node><entry><content>content_yowr3l0206</content></entry></data>

2021-12-05 21:44:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d91daf8b-2d8b-45fe-b53a-3e4a6ddad27e</value></item-id></result>

2021-12-05 21:44:17 | contains: true

2021-12-05 21:44:22 | [Mutex] waiting for: [user_regular7nvzbu0202@test-domain.com:message:received:content_yowr3l0206]

2021-12-05 21:44:22 | [Mutex] received everything.

2021-12-05 21:44:22 | [Mutex] isItemNotified: user_regular7nvzbu0202@test-domain.com:message:received:content_yowr3l0206 :: true

2021-12-05 21:44:22 |


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


2021-12-05 21:44:22 | [Mutex] received everything.

2021-12-05 21:44:22 | [Mutex] isItemNotified: node_lawjmu0203:subscribe_node:success :: true

2021-12-05 21:44:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 21:44:22 | command: <data><node>node_lawjmu0203</node><expire-at>2021-12-06T05:44:27Z</expire-at><entry><content>content_ofk0ld0207</content></entry></data>

2021-12-05 21:44:22 | target: http://localhost:8088

2021-12-05 21:44:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 21:44:22 | entity: <data><node>node_lawjmu0203</node><expire-at>2021-12-06T05:44:27Z</expire-at><entry><content>content_ofk0ld0207</content></entry></data>

2021-12-05 21:44:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 05:44:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 21:44:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>939d1370-7cf9-4533-bcde-b27264f47abf</value></item-id></result>

2021-12-05 21:44:22 | contains: true

2021-12-05 21:44:30 | [Mutex] waiting for: [user_regular7nvzbu0202@test-domain.com:message:received:content_ofk0ld0207]

2021-12-05 21:44:45 | [Mutex] timeout. Not received [user_regular7nvzbu0202@test-domain.com:message:received:content_ofk0ld0207]

2021-12-05 21:44:45 | [Mutex] received everything.

2021-12-05 21:44:45 | [Mutex] isItemNotified: user_regular7nvzbu0202@test-domain.com:message:received:content_ofk0ld0207 :: false

2021-12-05 21:44:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ofk0ld0207 :: true