Generated by TestNG with ReportNG at 22:47 PDT on Monday 22 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.877s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.676s
2022-08-22 23:01:43 |

2022-08-22 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-22 23:01:43 | ------------------------------------

2022-08-22 23:01:43 | [Mutex] isItemNotified: node_wdnsug0204:exists :: false

2022-08-22 23:01:43 | [Mutex] waiting for: [node_wdnsug0204:create_node]

2022-08-22 23:01:43 | [Mutex] received everything.

2022-08-22 23:01:43 | [Mutex] isItemNotified: node_wdnsug0204:create_node:success :: true

2022-08-22 23:01:43 | [Mutex] waiting for: [node_wdnsug0204:subscribe_node]

2022-08-22 23:01:43 | [Mutex] waiting for: [node_wdnsug0204:subscribe_node]

2022-08-22 23:01:43 | [Mutex] received everything.

2022-08-22 23:01:43 | [Mutex] isItemNotified: node_wdnsug0204:subscribe_node:success :: true

2022-08-22 23:01:43 |


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


2022-08-22 23:01:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-22 23:01:43 | command: <data><node>node_wdnsug0204</node><entry><content>content_jslekb0205</content></entry></data>

2022-08-22 23:01:43 | target: http://localhost:8088

2022-08-22 23:01:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-22 23:01:43 | entity: <data><node>node_wdnsug0204</node><entry><content>content_jslekb0205</content></entry></data>

2022-08-22 23:01:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:01:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-22 23:01:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08e173ab-d75d-4fd5-8dfd-afcb3d0c8ed4</value></item-id></result>

2022-08-22 23:01:43 | contains: true

2022-08-22 23:01:43 | [Mutex] waiting for: [user_regular6h44470203@test-domain.com:message:received:content_jslekb0205]

2022-08-22 23:01:43 | [Mutex] received everything.

2022-08-22 23:01:43 | [Mutex] isItemNotified: user_regular6h44470203@test-domain.com:message:received:content_jslekb0205 :: true

2022-08-22 23:01:43 |


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


2022-08-22 23:01:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-22 23:01:43 | command: <data><node>node_wdnsug0204</node><expire-at>2022-08-23T06:01:38Z</expire-at><entry><content>content_djkzle0206</content></entry></data>

2022-08-22 23:01:43 | target: http://localhost:8088

2022-08-22 23:01:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-22 23:01:43 | entity: <data><node>node_wdnsug0204</node><expire-at>2022-08-23T06:01:38Z</expire-at><entry><content>content_djkzle0206</content></entry></data>

2022-08-22 23:01:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:01:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-22 23:01:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ece62f1f-5e56-4ebf-90f6-7a159d257b40</value></item-id></result>

2022-08-22 23:01:43 | contains: true

2022-08-22 23:01:43 | [Mutex] waiting for: [user_regular6h44470203@test-domain.com:message:received:content_djkzle0206]

2022-08-22 23:01:58 | [Mutex] timeout. Not received [user_regular6h44470203@test-domain.com:message:received:content_djkzle0206]

2022-08-22 23:01:58 | [Mutex] isItemNotified: user_regular6h44470203@test-domain.com:message:received:content_djkzle0206 :: false

2022-08-22 23:01:58 |


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


2022-08-22 23:01:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-22 23:01:58 | command: <data><node>node_wdnsug0204</node><entry><content>content_ham4ti0207</content></entry></data>

2022-08-22 23:01:58 | target: http://localhost:8088

2022-08-22 23:01:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-22 23:01:58 | entity: <data><node>node_wdnsug0204</node><entry><content>content_ham4ti0207</content></entry></data>

2022-08-22 23:01:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:01:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-22 23:01:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87892d2f-3008-4161-bf77-2e0ec9f97340</value></item-id></result>

2022-08-22 23:01:58 | contains: true

2022-08-22 23:02:03 | [Mutex] waiting for: [user_regular6h44470203@test-domain.com:message:received:content_ham4ti0207]

2022-08-22 23:02:03 | [Mutex] received everything.

2022-08-22 23:02:03 | [Mutex] isItemNotified: user_regular6h44470203@test-domain.com:message:received:content_ham4ti0207 :: true

2022-08-22 23:02:03 |


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


2022-08-22 23:02:03 | [Mutex] received everything.

2022-08-22 23:02:03 | [Mutex] isItemNotified: node_wdnsug0204:subscribe_node:success :: true

2022-08-22 23:02:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-22 23:02:03 | command: <data><node>node_wdnsug0204</node><expire-at>2022-08-23T06:02:08Z</expire-at><entry><content>content_wi3i9h0208</content></entry></data>

2022-08-22 23:02:03 | target: http://localhost:8088

2022-08-22 23:02:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-22 23:02:03 | entity: <data><node>node_wdnsug0204</node><expire-at>2022-08-23T06:02:08Z</expire-at><entry><content>content_wi3i9h0208</content></entry></data>

2022-08-22 23:02:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:02:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-22 23:02:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d39df7f0-2e28-432a-a350-fbef4842d87f</value></item-id></result>

2022-08-22 23:02:03 | contains: true

2022-08-22 23:02:12 | [Mutex] waiting for: [user_regular6h44470203@test-domain.com:message:received:content_wi3i9h0208]

2022-08-22 23:02:12 | [Mutex] waiting for: [user_regular6h44470203@test-domain.com:message:received:content_wi3i9h0208]

2022-08-22 23:02:27 | [Mutex] timeout. Not received [user_regular6h44470203@test-domain.com:message:received:content_wi3i9h0208]

2022-08-22 23:02:27 | [Mutex] received everything.

2022-08-22 23:02:27 | [Mutex] isItemNotified: user_regular6h44470203@test-domain.com:message:received:content_wi3i9h0208 :: false

2022-08-22 23:02:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wi3i9h0208 :: true