Generated by TestNG with ReportNG at 07:40 PST on Wednesday 16 February 2022
root@f29ef40080b5 / 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.072s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.654s
2022-02-16 07:56:14 |

2022-02-16 07:56:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 07:56:14 | ------------------------------------

2022-02-16 07:56:14 | [Mutex] isItemNotified: node_qw8lb0203:exists :: false

2022-02-16 07:56:14 | [Mutex] waiting for: [node_qw8lb0203:create_node]

2022-02-16 07:56:14 | [Mutex] received everything.

2022-02-16 07:56:14 | [Mutex] isItemNotified: node_qw8lb0203:create_node:success :: true

2022-02-16 07:56:14 | [Mutex] waiting for: [node_qw8lb0203:subscribe_node]

2022-02-16 07:56:14 | [Mutex] waiting for: [node_qw8lb0203:subscribe_node]

2022-02-16 07:56:14 | [Mutex] received everything.

2022-02-16 07:56:14 | [Mutex] isItemNotified: node_qw8lb0203:subscribe_node:success :: true

2022-02-16 07:56:14 |


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


2022-02-16 07:56:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:56:14 | command: <data><node>node_qw8lb0203</node><entry><content>content_aay1030204</content></entry></data>

2022-02-16 07:56:14 | target: http://localhost:8088

2022-02-16 07:56:14 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 07:56:14 | entity: <data><node>node_qw8lb0203</node><entry><content>content_aay1030204</content></entry></data>

2022-02-16 07:56:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:56:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:56:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86ea7166-8419-4c57-8968-1d1d3396d719</value></item-id></result>

2022-02-16 07:56:14 | contains: true

2022-02-16 07:56:14 | [Mutex] received everything.

2022-02-16 07:56:14 | [Mutex] isItemNotified: user_regular7lyw480202@test-domain.com:message:received:content_aay1030204 :: true

2022-02-16 07:56:14 |


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


2022-02-16 07:56:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:56:14 | command: <data><node>node_qw8lb0203</node><expire-at>2022-02-16T15:56:09Z</expire-at><entry><content>content_s4razs0205</content></entry></data>

2022-02-16 07:56:14 | target: http://localhost:8088

2022-02-16 07:56:14 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-02-16 07:56:14 | entity: <data><node>node_qw8lb0203</node><expire-at>2022-02-16T15:56:09Z</expire-at><entry><content>content_s4razs0205</content></entry></data>

2022-02-16 07:56:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:56:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:56:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d56acc0d-9be5-4b0b-9a6b-7186d1d32ee7</value></item-id></result>

2022-02-16 07:56:14 | contains: true

2022-02-16 07:56:14 | [Mutex] waiting for: [user_regular7lyw480202@test-domain.com:message:received:content_s4razs0205]

2022-02-16 07:56:29 | [Mutex] timeout. Not received [user_regular7lyw480202@test-domain.com:message:received:content_s4razs0205]

2022-02-16 07:56:29 | [Mutex] isItemNotified: user_regular7lyw480202@test-domain.com:message:received:content_s4razs0205 :: false

2022-02-16 07:56:29 |


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


2022-02-16 07:56:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:56:29 | command: <data><node>node_qw8lb0203</node><entry><content>content_myi8zf0206</content></entry></data>

2022-02-16 07:56:29 | target: http://localhost:8088

2022-02-16 07:56:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-02-16 07:56:29 | entity: <data><node>node_qw8lb0203</node><entry><content>content_myi8zf0206</content></entry></data>

2022-02-16 07:56:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:56:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:56:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9e72b78-715d-4632-9438-c77f41b6060d</value></item-id></result>

2022-02-16 07:56:30 | contains: true

2022-02-16 07:56:35 | [Mutex] waiting for: [user_regular7lyw480202@test-domain.com:message:received:content_myi8zf0206]

2022-02-16 07:56:35 | [Mutex] received everything.

2022-02-16 07:56:35 | [Mutex] isItemNotified: user_regular7lyw480202@test-domain.com:message:received:content_myi8zf0206 :: true

2022-02-16 07:56:35 |


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


2022-02-16 07:56:35 | [Mutex] received everything.

2022-02-16 07:56:35 | [Mutex] isItemNotified: node_qw8lb0203:subscribe_node:success :: true

2022-02-16 07:56:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 07:56:35 | command: <data><node>node_qw8lb0203</node><expire-at>2022-02-16T15:56:40Z</expire-at><entry><content>content_bym6xy0207</content></entry></data>

2022-02-16 07:56:35 | target: http://localhost:8088

2022-02-16 07:56:35 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-02-16 07:56:35 | entity: <data><node>node_qw8lb0203</node><expire-at>2022-02-16T15:56:40Z</expire-at><entry><content>content_bym6xy0207</content></entry></data>

2022-02-16 07:56:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:56:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 07:56:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a098c25c-df63-4f93-8654-23ccaa3f9b62</value></item-id></result>

2022-02-16 07:56:35 | contains: true

2022-02-16 07:56:43 | [Mutex] waiting for: [user_regular7lyw480202@test-domain.com:message:received:content_bym6xy0207]

2022-02-16 07:56:58 | [Mutex] timeout. Not received [user_regular7lyw480202@test-domain.com:message:received:content_bym6xy0207]

2022-02-16 07:56:58 | [Mutex] received everything.

2022-02-16 07:56:58 | [Mutex] isItemNotified: user_regular7lyw480202@test-domain.com:message:received:content_bym6xy0207 :: false

2022-02-16 07:56:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bym6xy0207 :: true