Generated by TestNG with ReportNG at 18:15 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / 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.455s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.814s
2020-08-25 18:34:31 |

2020-08-25 18:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-25 18:34:31 | ------------------------------------

2020-08-25 18:34:31 | [Mutex] isItemNotified: node_ygqqgi0201:exists :: false

2020-08-25 18:34:31 | [Mutex] waiting for: [node_ygqqgi0201:create_node]

2020-08-25 18:34:31 | [Mutex] received everything.

2020-08-25 18:34:31 | [Mutex] isItemNotified: node_ygqqgi0201:create_node:success :: true

2020-08-25 18:34:31 | [Mutex] waiting for: [node_ygqqgi0201:subscribe_node]

2020-08-25 18:34:31 | [Mutex] waiting for: [node_ygqqgi0201:subscribe_node]

2020-08-25 18:34:31 | [Mutex] received everything.

2020-08-25 18:34:31 | [Mutex] isItemNotified: node_ygqqgi0201:subscribe_node:success :: true

2020-08-25 18:34:31 |


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


2020-08-25 18:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 18:34:31 | command: <data><node>node_ygqqgi0201</node><entry><content>content_dliz9g0202</content></entry></data>

2020-08-25 18:34:31 | target: http://localhost:8088

2020-08-25 18:34:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-25 18:34:31 | entity: <data><node>node_ygqqgi0201</node><entry><content>content_dliz9g0202</content></entry></data>

2020-08-25 18:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 01:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 18:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a357d8d-3447-4a91-8fe7-fce908509afa</value></item-id></result>

2020-08-25 18:34:31 | contains: true

2020-08-25 18:34:31 | [Mutex] received everything.

2020-08-25 18:34:31 | [Mutex] isItemNotified: user_regularipj03f0200@test-domain.com:message:received:content_dliz9g0202 :: true

2020-08-25 18:34:31 |


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


2020-08-25 18:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 18:34:31 | command: <data><node>node_ygqqgi0201</node><expire-at>2020-08-26T01:34:26Z</expire-at><entry><content>content_rjbfav0203</content></entry></data>

2020-08-25 18:34:31 | target: http://localhost:8088

2020-08-25 18:34:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-25 18:34:31 | entity: <data><node>node_ygqqgi0201</node><expire-at>2020-08-26T01:34:26Z</expire-at><entry><content>content_rjbfav0203</content></entry></data>

2020-08-25 18:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 01:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 18:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e2ab5090-fbd4-474c-835a-12c1e03fe8f9</value></item-id></result>

2020-08-25 18:34:31 | contains: true

2020-08-25 18:34:31 | [Mutex] waiting for: [user_regularipj03f0200@test-domain.com:message:received:content_rjbfav0203]

2020-08-25 18:34:46 | [Mutex] timeout. Not received [user_regularipj03f0200@test-domain.com:message:received:content_rjbfav0203]

2020-08-25 18:34:46 | [Mutex] isItemNotified: user_regularipj03f0200@test-domain.com:message:received:content_rjbfav0203 :: false

2020-08-25 18:34:46 |


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


2020-08-25 18:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 18:34:46 | command: <data><node>node_ygqqgi0201</node><entry><content>content_n3xv1m0204</content></entry></data>

2020-08-25 18:34:46 | target: http://localhost:8088

2020-08-25 18:34:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-25 18:34:46 | entity: <data><node>node_ygqqgi0201</node><entry><content>content_n3xv1m0204</content></entry></data>

2020-08-25 18:34:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 01:34:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 18:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c83a5675-a9f2-4fd1-a040-06d30d5cc264</value></item-id></result>

2020-08-25 18:34:46 | contains: true

2020-08-25 18:34:51 | [Mutex] waiting for: [user_regularipj03f0200@test-domain.com:message:received:content_n3xv1m0204]

2020-08-25 18:34:51 | [Mutex] waiting for: [user_regularipj03f0200@test-domain.com:message:received:content_n3xv1m0204]

2020-08-25 18:34:51 | [Mutex] received everything.

2020-08-25 18:34:51 | [Mutex] isItemNotified: user_regularipj03f0200@test-domain.com:message:received:content_n3xv1m0204 :: true

2020-08-25 18:34:51 |


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


2020-08-25 18:34:51 | [Mutex] received everything.

2020-08-25 18:34:51 | [Mutex] isItemNotified: node_ygqqgi0201:subscribe_node:success :: true

2020-08-25 18:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-25 18:34:51 | command: <data><node>node_ygqqgi0201</node><expire-at>2020-08-26T01:34:56Z</expire-at><entry><content>content_hcyfga0205</content></entry></data>

2020-08-25 18:34:51 | target: http://localhost:8088

2020-08-25 18:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-25 18:34:51 | entity: <data><node>node_ygqqgi0201</node><expire-at>2020-08-26T01:34:56Z</expire-at><entry><content>content_hcyfga0205</content></entry></data>

2020-08-25 18:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 01:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-25 18:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f227b3f6-1b3f-4092-8170-e5c95b5bd905</value></item-id></result>

2020-08-25 18:34:51 | contains: true

2020-08-25 18:35:00 | [Mutex] waiting for: [user_regularipj03f0200@test-domain.com:message:received:content_hcyfga0205]

2020-08-25 18:35:00 | [Mutex] waiting for: [user_regularipj03f0200@test-domain.com:message:received:content_hcyfga0205]

2020-08-25 18:35:15 | [Mutex] timeout. Not received [user_regularipj03f0200@test-domain.com:message:received:content_hcyfga0205]

2020-08-25 18:35:15 | [Mutex] received everything.

2020-08-25 18:35:15 | [Mutex] isItemNotified: user_regularipj03f0200@test-domain.com:message:received:content_hcyfga0205 :: false

2020-08-25 18:35:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hcyfga0205 :: true