Generated by TestNG with ReportNG at 05:56 PST on Wednesday 27 January 2021
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.897s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2021-01-27 06:11:28 |

2021-01-27 06:11:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-27 06:11:28 | ------------------------------------

2021-01-27 06:11:28 | [Mutex] isItemNotified: node_gt5ier0203:exists :: false

2021-01-27 06:11:28 | [Mutex] waiting for: [node_gt5ier0203:create_node]

2021-01-27 06:11:28 | [Mutex] received everything.

2021-01-27 06:11:28 | [Mutex] isItemNotified: node_gt5ier0203:create_node:success :: true

2021-01-27 06:11:28 | [Mutex] waiting for: [node_gt5ier0203:subscribe_node]

2021-01-27 06:11:28 | [Mutex] waiting for: [node_gt5ier0203:subscribe_node]

2021-01-27 06:11:28 | [Mutex] received everything.

2021-01-27 06:11:28 | [Mutex] isItemNotified: node_gt5ier0203:subscribe_node:success :: true

2021-01-27 06:11:28 |


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


2021-01-27 06:11:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 06:11:28 | command: <data><node>node_gt5ier0203</node><entry><content>content_d6bpgw0204</content></entry></data>

2021-01-27 06:11:28 | target: http://localhost:8088

2021-01-27 06:11:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-27 06:11:28 | entity: <data><node>node_gt5ier0203</node><entry><content>content_d6bpgw0204</content></entry></data>

2021-01-27 06:11:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:11:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 06:11:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3762b3aa-ff0a-41fc-9d72-9cffe25493e4</value></item-id></result>

2021-01-27 06:11:28 | contains: true

2021-01-27 06:11:28 | [Mutex] received everything.

2021-01-27 06:11:28 | [Mutex] isItemNotified: user_regular7dnlkt0202@test-domain.com:message:received:content_d6bpgw0204 :: true

2021-01-27 06:11:28 |


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


2021-01-27 06:11:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 06:11:28 | command: <data><node>node_gt5ier0203</node><expire-at>2021-01-27T14:11:23Z</expire-at><entry><content>content_t9vx3l0205</content></entry></data>

2021-01-27 06:11:28 | target: http://localhost:8088

2021-01-27 06:11:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 06:11:28 | entity: <data><node>node_gt5ier0203</node><expire-at>2021-01-27T14:11:23Z</expire-at><entry><content>content_t9vx3l0205</content></entry></data>

2021-01-27 06:11:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:11:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 06:11:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac8fd385-0deb-4440-9179-651ddd111855</value></item-id></result>

2021-01-27 06:11:28 | contains: true

2021-01-27 06:11:28 | [Mutex] waiting for: [user_regular7dnlkt0202@test-domain.com:message:received:content_t9vx3l0205]

2021-01-27 06:11:43 | [Mutex] timeout. Not received [user_regular7dnlkt0202@test-domain.com:message:received:content_t9vx3l0205]

2021-01-27 06:11:43 | [Mutex] isItemNotified: user_regular7dnlkt0202@test-domain.com:message:received:content_t9vx3l0205 :: false

2021-01-27 06:11:43 |


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


2021-01-27 06:11:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 06:11:43 | command: <data><node>node_gt5ier0203</node><entry><content>content_pbmw130206</content></entry></data>

2021-01-27 06:11:43 | target: http://localhost:8088

2021-01-27 06:11:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-27 06:11:43 | entity: <data><node>node_gt5ier0203</node><entry><content>content_pbmw130206</content></entry></data>

2021-01-27 06:11:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:11:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 06:11:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f4cb0c1-423d-436b-89e1-96a9dc582be2</value></item-id></result>

2021-01-27 06:11:43 | contains: true

2021-01-27 06:11:49 | [Mutex] waiting for: [user_regular7dnlkt0202@test-domain.com:message:received:content_pbmw130206]

2021-01-27 06:11:49 | [Mutex] waiting for: [user_regular7dnlkt0202@test-domain.com:message:received:content_pbmw130206]

2021-01-27 06:11:49 | [Mutex] received everything.

2021-01-27 06:11:49 | [Mutex] isItemNotified: user_regular7dnlkt0202@test-domain.com:message:received:content_pbmw130206 :: true

2021-01-27 06:11:49 |


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


2021-01-27 06:11:49 | [Mutex] received everything.

2021-01-27 06:11:49 | [Mutex] isItemNotified: node_gt5ier0203:subscribe_node:success :: true

2021-01-27 06:11:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 06:11:49 | command: <data><node>node_gt5ier0203</node><expire-at>2021-01-27T14:11:54Z</expire-at><entry><content>content_pot4gr0207</content></entry></data>

2021-01-27 06:11:49 | target: http://localhost:8088

2021-01-27 06:11:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 06:11:49 | entity: <data><node>node_gt5ier0203</node><expire-at>2021-01-27T14:11:54Z</expire-at><entry><content>content_pot4gr0207</content></entry></data>

2021-01-27 06:11:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 14:11:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 06:11:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6584d98e-d2a0-4e15-bbb9-8c3e5789d0b5</value></item-id></result>

2021-01-27 06:11:49 | contains: true

2021-01-27 06:11:57 | [Mutex] waiting for: [user_regular7dnlkt0202@test-domain.com:message:received:content_pot4gr0207]

2021-01-27 06:12:12 | [Mutex] timeout. Not received [user_regular7dnlkt0202@test-domain.com:message:received:content_pot4gr0207]

2021-01-27 06:12:12 | [Mutex] received everything.

2021-01-27 06:12:12 | [Mutex] isItemNotified: user_regular7dnlkt0202@test-domain.com:message:received:content_pot4gr0207 :: false

2021-01-27 06:12:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pot4gr0207 :: true