Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 22 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 44.872s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-06-22 22:34:14 |

2022-06-22 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-22 22:34:14 | ------------------------------------

2022-06-22 22:34:14 | [Mutex] isItemNotified: node_l0w2x60204:exists :: false

2022-06-22 22:34:14 | [Mutex] waiting for: [node_l0w2x60204:create_node]

2022-06-22 22:34:14 | [Mutex] received everything.

2022-06-22 22:34:14 | [Mutex] isItemNotified: node_l0w2x60204:create_node:success :: true

2022-06-22 22:34:14 | [Mutex] waiting for: [node_l0w2x60204:subscribe_node]

2022-06-22 22:34:14 | [Mutex] received everything.

2022-06-22 22:34:14 | [Mutex] isItemNotified: node_l0w2x60204:subscribe_node:success :: true

2022-06-22 22:34:14 |


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


2022-06-22 22:34:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:34:14 | command: <data><node>node_l0w2x60204</node><entry><content>content_iah51d0205</content></entry></data>

2022-06-22 22:34:14 | target: http://localhost:8088

2022-06-22 22:34:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:34:14 | entity: <data><node>node_l0w2x60204</node><entry><content>content_iah51d0205</content></entry></data>

2022-06-22 22:34:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:34:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:34:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>707784b5-151d-4628-beb1-8138ae79fb6b</value></item-id></result>

2022-06-22 22:34:14 | contains: true

2022-06-22 22:34:14 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_iah51d0205]

2022-06-22 22:34:14 | [Mutex] received everything.

2022-06-22 22:34:14 | [Mutex] isItemNotified: user_regularqj6f3n0203@test-domain.com:message:received:content_iah51d0205 :: true

2022-06-22 22:34:14 |


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


2022-06-22 22:34:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:34:14 | command: <data><node>node_l0w2x60204</node><expire-at>2022-06-23T05:34:09Z</expire-at><entry><content>content_7nsqdo0206</content></entry></data>

2022-06-22 22:34:14 | target: http://localhost:8088

2022-06-22 22:34:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:34:14 | entity: <data><node>node_l0w2x60204</node><expire-at>2022-06-23T05:34:09Z</expire-at><entry><content>content_7nsqdo0206</content></entry></data>

2022-06-22 22:34:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:34:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:34:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85a9ceba-edb5-45cc-b787-b3b05c484f56</value></item-id></result>

2022-06-22 22:34:14 | contains: true

2022-06-22 22:34:14 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_7nsqdo0206]

2022-06-22 22:34:29 | [Mutex] timeout. Not received [user_regularqj6f3n0203@test-domain.com:message:received:content_7nsqdo0206]

2022-06-22 22:34:29 | [Mutex] isItemNotified: user_regularqj6f3n0203@test-domain.com:message:received:content_7nsqdo0206 :: false

2022-06-22 22:34:29 |


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


2022-06-22 22:34:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:34:29 | command: <data><node>node_l0w2x60204</node><entry><content>content_rymdrk0207</content></entry></data>

2022-06-22 22:34:29 | target: http://localhost:8088

2022-06-22 22:34:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:34:29 | entity: <data><node>node_l0w2x60204</node><entry><content>content_rymdrk0207</content></entry></data>

2022-06-22 22:34:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:34:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:34:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f3e8f55-920d-4933-9312-73f9807ddaba</value></item-id></result>

2022-06-22 22:34:29 | contains: true

2022-06-22 22:34:34 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_rymdrk0207]

2022-06-22 22:34:34 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_rymdrk0207]

2022-06-22 22:34:34 | [Mutex] received everything.

2022-06-22 22:34:34 | [Mutex] isItemNotified: user_regularqj6f3n0203@test-domain.com:message:received:content_rymdrk0207 :: true

2022-06-22 22:34:34 |


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


2022-06-22 22:34:34 | [Mutex] received everything.

2022-06-22 22:34:34 | [Mutex] isItemNotified: node_l0w2x60204:subscribe_node:success :: true

2022-06-22 22:34:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:34:34 | command: <data><node>node_l0w2x60204</node><expire-at>2022-06-23T05:34:39Z</expire-at><entry><content>content_ul6zvu0208</content></entry></data>

2022-06-22 22:34:34 | target: http://localhost:8088

2022-06-22 22:34:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:34:34 | entity: <data><node>node_l0w2x60204</node><expire-at>2022-06-23T05:34:39Z</expire-at><entry><content>content_ul6zvu0208</content></entry></data>

2022-06-22 22:34:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:34:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:34:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>477ddfde-26fe-4902-8c99-79fd5b43fbc2</value></item-id></result>

2022-06-22 22:34:34 | contains: true

2022-06-22 22:34:42 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_ul6zvu0208]

2022-06-22 22:34:42 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_ul6zvu0208]

2022-06-22 22:34:42 | [Mutex] waiting for: [user_regularqj6f3n0203@test-domain.com:message:received:content_ul6zvu0208]

2022-06-22 22:34:57 | [Mutex] timeout. Not received [user_regularqj6f3n0203@test-domain.com:message:received:content_ul6zvu0208]

2022-06-22 22:34:57 | [Mutex] received everything.

2022-06-22 22:34:57 | [Mutex] isItemNotified: user_regularqj6f3n0203@test-domain.com:message:received:content_ul6zvu0208 :: false

2022-06-22 22:34:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ul6zvu0208 :: true