Generated by TestNG with ReportNG at 22:13 PDT on Thursday 30 September 2021
root@785cf647a4ab / 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.580s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.839s
2021-09-30 22:27:49 |

2021-09-30 22:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-30 22:27:49 | ------------------------------------

2021-09-30 22:27:49 | [Mutex] isItemNotified: node_rztgee0203:exists :: false

2021-09-30 22:27:49 | [Mutex] waiting for: [node_rztgee0203:create_node]

2021-09-30 22:27:49 | [Mutex] received everything.

2021-09-30 22:27:49 | [Mutex] isItemNotified: node_rztgee0203:create_node:success :: true

2021-09-30 22:27:49 | [Mutex] waiting for: [node_rztgee0203:subscribe_node]

2021-09-30 22:27:49 | [Mutex] waiting for: [node_rztgee0203:subscribe_node]

2021-09-30 22:27:49 | [Mutex] received everything.

2021-09-30 22:27:49 | [Mutex] isItemNotified: node_rztgee0203:subscribe_node:success :: true

2021-09-30 22:27:49 |


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


2021-09-30 22:27:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:27:49 | command: <data><node>node_rztgee0203</node><entry><content>content_8oot3z0204</content></entry></data>

2021-09-30 22:27:49 | target: http://localhost:8088

2021-09-30 22:27:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:27:49 | entity: <data><node>node_rztgee0203</node><entry><content>content_8oot3z0204</content></entry></data>

2021-09-30 22:27:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:27:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:27:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>749e9942-0cc6-41b2-a608-27587183f3c3</value></item-id></result>

2021-09-30 22:27:49 | contains: true

2021-09-30 22:27:49 | [Mutex] waiting for: [user_regularbn5tb80202@test-domain.com:message:received:content_8oot3z0204]

2021-09-30 22:27:49 | [Mutex] received everything.

2021-09-30 22:27:49 | [Mutex] isItemNotified: user_regularbn5tb80202@test-domain.com:message:received:content_8oot3z0204 :: true

2021-09-30 22:27:49 |


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


2021-09-30 22:27:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:27:49 | command: <data><node>node_rztgee0203</node><expire-at>2021-10-01T05:27:44Z</expire-at><entry><content>content_ddkwww0205</content></entry></data>

2021-09-30 22:27:49 | target: http://localhost:8088

2021-09-30 22:27:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:27:49 | entity: <data><node>node_rztgee0203</node><expire-at>2021-10-01T05:27:44Z</expire-at><entry><content>content_ddkwww0205</content></entry></data>

2021-09-30 22:27:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:27:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:27:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4301c18-1239-43a5-87ad-1d5c7c7e30bc</value></item-id></result>

2021-09-30 22:27:49 | contains: true

2021-09-30 22:27:49 | [Mutex] waiting for: [user_regularbn5tb80202@test-domain.com:message:received:content_ddkwww0205]

2021-09-30 22:28:04 | [Mutex] timeout. Not received [user_regularbn5tb80202@test-domain.com:message:received:content_ddkwww0205]

2021-09-30 22:28:04 | [Mutex] isItemNotified: user_regularbn5tb80202@test-domain.com:message:received:content_ddkwww0205 :: false

2021-09-30 22:28:04 |


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


2021-09-30 22:28:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:28:04 | command: <data><node>node_rztgee0203</node><entry><content>content_nafghg0206</content></entry></data>

2021-09-30 22:28:04 | target: http://localhost:8088

2021-09-30 22:28:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:28:04 | entity: <data><node>node_rztgee0203</node><entry><content>content_nafghg0206</content></entry></data>

2021-09-30 22:28:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:28:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:28:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f450b5c-f8af-4958-bf1d-089158059b08</value></item-id></result>

2021-09-30 22:28:04 | contains: true

2021-09-30 22:28:09 | [Mutex] waiting for: [user_regularbn5tb80202@test-domain.com:message:received:content_nafghg0206]

2021-09-30 22:28:09 | [Mutex] waiting for: [user_regularbn5tb80202@test-domain.com:message:received:content_nafghg0206]

2021-09-30 22:28:09 | [Mutex] received everything.

2021-09-30 22:28:09 | [Mutex] isItemNotified: user_regularbn5tb80202@test-domain.com:message:received:content_nafghg0206 :: true

2021-09-30 22:28:09 |


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


2021-09-30 22:28:09 | [Mutex] received everything.

2021-09-30 22:28:09 | [Mutex] isItemNotified: node_rztgee0203:subscribe_node:success :: true

2021-09-30 22:28:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:28:09 | command: <data><node>node_rztgee0203</node><expire-at>2021-10-01T05:28:14Z</expire-at><entry><content>content_7cknk40207</content></entry></data>

2021-09-30 22:28:09 | target: http://localhost:8088

2021-09-30 22:28:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:28:09 | entity: <data><node>node_rztgee0203</node><expire-at>2021-10-01T05:28:14Z</expire-at><entry><content>content_7cknk40207</content></entry></data>

2021-09-30 22:28:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:28:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:28:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>608b8865-c910-4ef4-9c95-b16940e22f3b</value></item-id></result>

2021-09-30 22:28:09 | contains: true

2021-09-30 22:28:17 | [Mutex] waiting for: [user_regularbn5tb80202@test-domain.com:message:received:content_7cknk40207]

2021-09-30 22:28:32 | [Mutex] timeout. Not received [user_regularbn5tb80202@test-domain.com:message:received:content_7cknk40207]

2021-09-30 22:28:32 | [Mutex] received everything.

2021-09-30 22:28:32 | [Mutex] isItemNotified: user_regularbn5tb80202@test-domain.com:message:received:content_7cknk40207 :: false

2021-09-30 22:28:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7cknk40207 :: true