Generated by TestNG with ReportNG at 21:45 PST on Sunday 29 November 2020
root@87f6aca6b6f2 / 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.176s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.754s
2020-11-29 22:01:34 |

2020-11-29 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-29 22:01:34 | ------------------------------------

2020-11-29 22:01:34 | [Mutex] isItemNotified: node_5kgkbt0203:exists :: false

2020-11-29 22:01:34 | [Mutex] waiting for: [node_5kgkbt0203:create_node]

2020-11-29 22:01:34 | [Mutex] received everything.

2020-11-29 22:01:34 | [Mutex] isItemNotified: node_5kgkbt0203:create_node:success :: true

2020-11-29 22:01:34 | [Mutex] waiting for: [node_5kgkbt0203:subscribe_node]

2020-11-29 22:01:34 | [Mutex] waiting for: [node_5kgkbt0203:subscribe_node]

2020-11-29 22:01:34 | [Mutex] received everything.

2020-11-29 22:01:34 | [Mutex] isItemNotified: node_5kgkbt0203:subscribe_node:success :: true

2020-11-29 22:01:34 |


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


2020-11-29 22:01:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:01:34 | command: <data><node>node_5kgkbt0203</node><entry><content>content_6v1iqb0204</content></entry></data>

2020-11-29 22:01:34 | target: http://localhost:8088

2020-11-29 22:01:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 22:01:34 | entity: <data><node>node_5kgkbt0203</node><entry><content>content_6v1iqb0204</content></entry></data>

2020-11-29 22:01:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:01:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:01:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>02a4dd01-574a-4f93-9a62-d1ba397938bc</value></item-id></result>

2020-11-29 22:01:34 | contains: true

2020-11-29 22:01:34 | [Mutex] received everything.

2020-11-29 22:01:34 | [Mutex] isItemNotified: user_regular6fe2bn0202@test-domain.com:message:received:content_6v1iqb0204 :: true

2020-11-29 22:01:34 |


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


2020-11-29 22:01:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:01:34 | command: <data><node>node_5kgkbt0203</node><expire-at>2020-11-30T06:01:29Z</expire-at><entry><content>content_m77jcc0205</content></entry></data>

2020-11-29 22:01:34 | target: http://localhost:8088

2020-11-29 22:01:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-29 22:01:34 | entity: <data><node>node_5kgkbt0203</node><expire-at>2020-11-30T06:01:29Z</expire-at><entry><content>content_m77jcc0205</content></entry></data>

2020-11-29 22:01:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:01:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:01:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>977acdfb-1495-4481-9a4a-bb9d865523ce</value></item-id></result>

2020-11-29 22:01:34 | contains: true

2020-11-29 22:01:34 | [Mutex] waiting for: [user_regular6fe2bn0202@test-domain.com:message:received:content_m77jcc0205]

2020-11-29 22:01:49 | [Mutex] timeout. Not received [user_regular6fe2bn0202@test-domain.com:message:received:content_m77jcc0205]

2020-11-29 22:01:49 | [Mutex] isItemNotified: user_regular6fe2bn0202@test-domain.com:message:received:content_m77jcc0205 :: false

2020-11-29 22:01:49 |


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


2020-11-29 22:01:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:01:49 | command: <data><node>node_5kgkbt0203</node><entry><content>content_e4xltj0206</content></entry></data>

2020-11-29 22:01:49 | target: http://localhost:8088

2020-11-29 22:01:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 22:01:49 | entity: <data><node>node_5kgkbt0203</node><entry><content>content_e4xltj0206</content></entry></data>

2020-11-29 22:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:01:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abad5fb7-bc88-4e15-b2e5-4964f7f85e04</value></item-id></result>

2020-11-29 22:01:49 | contains: true

2020-11-29 22:01:54 | [Mutex] waiting for: [user_regular6fe2bn0202@test-domain.com:message:received:content_e4xltj0206]

2020-11-29 22:01:54 | [Mutex] received everything.

2020-11-29 22:01:54 | [Mutex] isItemNotified: user_regular6fe2bn0202@test-domain.com:message:received:content_e4xltj0206 :: true

2020-11-29 22:01:54 |


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


2020-11-29 22:01:54 | [Mutex] received everything.

2020-11-29 22:01:54 | [Mutex] isItemNotified: node_5kgkbt0203:subscribe_node:success :: true

2020-11-29 22:01:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:01:54 | command: <data><node>node_5kgkbt0203</node><expire-at>2020-11-30T06:01:59Z</expire-at><entry><content>content_5ox8jc0207</content></entry></data>

2020-11-29 22:01:54 | target: http://localhost:8088

2020-11-29 22:01:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-29 22:01:54 | entity: <data><node>node_5kgkbt0203</node><expire-at>2020-11-30T06:01:59Z</expire-at><entry><content>content_5ox8jc0207</content></entry></data>

2020-11-29 22:01:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:01:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:01:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1748b78e-6740-4121-b718-73e52f93d6d6</value></item-id></result>

2020-11-29 22:01:54 | contains: true

2020-11-29 22:02:02 | [Mutex] waiting for: [user_regular6fe2bn0202@test-domain.com:message:received:content_5ox8jc0207]

2020-11-29 22:02:17 | [Mutex] timeout. Not received [user_regular6fe2bn0202@test-domain.com:message:received:content_5ox8jc0207]

2020-11-29 22:02:17 | [Mutex] received everything.

2020-11-29 22:02:17 | [Mutex] isItemNotified: user_regular6fe2bn0202@test-domain.com:message:received:content_5ox8jc0207 :: false

2020-11-29 22:02:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5ox8jc0207 :: true