Generated by TestNG with ReportNG at 23:36 PDT on Monday 28 September 2020
root@c4d4cd81149d / 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.552s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.746s
2020-09-28 23:54:49 |

2020-09-28 23:54:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-28 23:54:49 | ------------------------------------

2020-09-28 23:54:49 | [Mutex] isItemNotified: node_ry8gjq0203:exists :: false

2020-09-28 23:54:49 | [Mutex] waiting for: [node_ry8gjq0203:create_node]

2020-09-28 23:54:49 | [Mutex] received everything.

2020-09-28 23:54:49 | [Mutex] isItemNotified: node_ry8gjq0203:create_node:success :: true

2020-09-28 23:54:49 | [Mutex] waiting for: [node_ry8gjq0203:subscribe_node]

2020-09-28 23:54:49 | [Mutex] received everything.

2020-09-28 23:54:49 | [Mutex] isItemNotified: node_ry8gjq0203:subscribe_node:success :: true

2020-09-28 23:54:49 |


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


2020-09-28 23:54:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 23:54:49 | command: <data><node>node_ry8gjq0203</node><entry><content>content_fusyrc0204</content></entry></data>

2020-09-28 23:54:49 | target: http://localhost:8088

2020-09-28 23:54:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-28 23:54:49 | entity: <data><node>node_ry8gjq0203</node><entry><content>content_fusyrc0204</content></entry></data>

2020-09-28 23:54:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:54:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 23:54:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>81dfae5c-e4b6-48ab-b890-da43a031cbde</value></item-id></result>

2020-09-28 23:54:49 | contains: true

2020-09-28 23:54:49 | [Mutex] waiting for: [user_regulariwkmrz0202@test-domain.com:message:received:content_fusyrc0204]

2020-09-28 23:54:49 | [Mutex] received everything.

2020-09-28 23:54:49 | [Mutex] isItemNotified: user_regulariwkmrz0202@test-domain.com:message:received:content_fusyrc0204 :: true

2020-09-28 23:54:49 |


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


2020-09-28 23:54:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 23:54:49 | command: <data><node>node_ry8gjq0203</node><expire-at>2020-09-29T06:54:44Z</expire-at><entry><content>content_voqqbz0205</content></entry></data>

2020-09-28 23:54:49 | target: http://localhost:8088

2020-09-28 23:54:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-28 23:54:49 | entity: <data><node>node_ry8gjq0203</node><expire-at>2020-09-29T06:54:44Z</expire-at><entry><content>content_voqqbz0205</content></entry></data>

2020-09-28 23:54:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:54:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 23:54:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>966ee99e-5262-4fd3-8573-78c03b84af38</value></item-id></result>

2020-09-28 23:54:49 | contains: true

2020-09-28 23:54:49 | [Mutex] waiting for: [user_regulariwkmrz0202@test-domain.com:message:received:content_voqqbz0205]

2020-09-28 23:55:04 | [Mutex] timeout. Not received [user_regulariwkmrz0202@test-domain.com:message:received:content_voqqbz0205]

2020-09-28 23:55:04 | [Mutex] isItemNotified: user_regulariwkmrz0202@test-domain.com:message:received:content_voqqbz0205 :: false

2020-09-28 23:55:04 |


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


2020-09-28 23:55:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 23:55:04 | command: <data><node>node_ry8gjq0203</node><entry><content>content_d9qrby0206</content></entry></data>

2020-09-28 23:55:04 | target: http://localhost:8088

2020-09-28 23:55:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-28 23:55:04 | entity: <data><node>node_ry8gjq0203</node><entry><content>content_d9qrby0206</content></entry></data>

2020-09-28 23:55:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:55:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 23:55:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba806be2-edee-4f8b-9afa-048f9e903dc0</value></item-id></result>

2020-09-28 23:55:04 | contains: true

2020-09-28 23:55:09 | [Mutex] waiting for: [user_regulariwkmrz0202@test-domain.com:message:received:content_d9qrby0206]

2020-09-28 23:55:09 | [Mutex] waiting for: [user_regulariwkmrz0202@test-domain.com:message:received:content_d9qrby0206]

2020-09-28 23:55:09 | [Mutex] received everything.

2020-09-28 23:55:09 | [Mutex] isItemNotified: user_regulariwkmrz0202@test-domain.com:message:received:content_d9qrby0206 :: true

2020-09-28 23:55:09 |


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


2020-09-28 23:55:09 | [Mutex] received everything.

2020-09-28 23:55:09 | [Mutex] isItemNotified: node_ry8gjq0203:subscribe_node:success :: true

2020-09-28 23:55:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 23:55:09 | command: <data><node>node_ry8gjq0203</node><expire-at>2020-09-29T06:55:14Z</expire-at><entry><content>content_q4gf230207</content></entry></data>

2020-09-28 23:55:09 | target: http://localhost:8088

2020-09-28 23:55:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-28 23:55:09 | entity: <data><node>node_ry8gjq0203</node><expire-at>2020-09-29T06:55:14Z</expire-at><entry><content>content_q4gf230207</content></entry></data>

2020-09-28 23:55:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:55:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 23:55:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f766be2-fa43-456f-aa5e-6db07f9bcc74</value></item-id></result>

2020-09-28 23:55:10 | contains: true

2020-09-28 23:55:18 | [Mutex] waiting for: [user_regulariwkmrz0202@test-domain.com:message:received:content_q4gf230207]

2020-09-28 23:55:33 | [Mutex] timeout. Not received [user_regulariwkmrz0202@test-domain.com:message:received:content_q4gf230207]

2020-09-28 23:55:33 | [Mutex] received everything.

2020-09-28 23:55:33 | [Mutex] isItemNotified: user_regulariwkmrz0202@test-domain.com:message:received:content_q4gf230207 :: false

2020-09-28 23:55:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_q4gf230207 :: true