Generated by TestNG with ReportNG at 21:14 PST on Wednesday 11 November 2020
root@87f6aca6b6f2 / 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.828s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.848s
2020-11-11 21:30:21 |

2020-11-11 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-11 21:30:21 | ------------------------------------

2020-11-11 21:30:21 | [Mutex] isItemNotified: node_sk1zwh0203:exists :: false

2020-11-11 21:30:21 | [Mutex] waiting for: [node_sk1zwh0203:create_node]

2020-11-11 21:30:21 | [Mutex] received everything.

2020-11-11 21:30:21 | [Mutex] isItemNotified: node_sk1zwh0203:create_node:success :: true

2020-11-11 21:30:21 | [Mutex] waiting for: [node_sk1zwh0203:subscribe_node]

2020-11-11 21:30:21 | [Mutex] received everything.

2020-11-11 21:30:21 | [Mutex] isItemNotified: node_sk1zwh0203:subscribe_node:success :: true

2020-11-11 21:30:21 |


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


2020-11-11 21:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 21:30:21 | command: <data><node>node_sk1zwh0203</node><entry><content>content_3a5lad0204</content></entry></data>

2020-11-11 21:30:21 | target: http://localhost:8088

2020-11-11 21:30:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-11 21:30:21 | entity: <data><node>node_sk1zwh0203</node><entry><content>content_3a5lad0204</content></entry></data>

2020-11-11 21:30:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 21:30:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>01e2ae34-5588-48b6-b4b4-869da19da768</value></item-id></result>

2020-11-11 21:30:21 | contains: true

2020-11-11 21:30:21 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_3a5lad0204]

2020-11-11 21:30:21 | [Mutex] received everything.

2020-11-11 21:30:21 | [Mutex] isItemNotified: user_regularxwecve0202@test-domain.com:message:received:content_3a5lad0204 :: true

2020-11-11 21:30:21 |


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


2020-11-11 21:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 21:30:21 | command: <data><node>node_sk1zwh0203</node><expire-at>2020-11-12T05:30:16Z</expire-at><entry><content>content_8hxy9w0205</content></entry></data>

2020-11-11 21:30:21 | target: http://localhost:8088

2020-11-11 21:30:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-11 21:30:21 | entity: <data><node>node_sk1zwh0203</node><expire-at>2020-11-12T05:30:16Z</expire-at><entry><content>content_8hxy9w0205</content></entry></data>

2020-11-11 21:30:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 21:30:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>429992f0-119a-4519-883a-9e27556595f9</value></item-id></result>

2020-11-11 21:30:21 | contains: true

2020-11-11 21:30:21 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_8hxy9w0205]

2020-11-11 21:30:36 | [Mutex] timeout. Not received [user_regularxwecve0202@test-domain.com:message:received:content_8hxy9w0205]

2020-11-11 21:30:36 | [Mutex] isItemNotified: user_regularxwecve0202@test-domain.com:message:received:content_8hxy9w0205 :: false

2020-11-11 21:30:36 |


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


2020-11-11 21:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 21:30:36 | command: <data><node>node_sk1zwh0203</node><entry><content>content_c3qj0y0206</content></entry></data>

2020-11-11 21:30:36 | target: http://localhost:8088

2020-11-11 21:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-11 21:30:36 | entity: <data><node>node_sk1zwh0203</node><entry><content>content_c3qj0y0206</content></entry></data>

2020-11-11 21:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 21:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f5ef924-d9a2-49cf-93ba-e1a5dca0ee2e</value></item-id></result>

2020-11-11 21:30:36 | contains: true

2020-11-11 21:30:41 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_c3qj0y0206]

2020-11-11 21:30:41 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_c3qj0y0206]

2020-11-11 21:30:41 | [Mutex] received everything.

2020-11-11 21:30:41 | [Mutex] isItemNotified: user_regularxwecve0202@test-domain.com:message:received:content_c3qj0y0206 :: true

2020-11-11 21:30:41 |


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


2020-11-11 21:30:41 | [Mutex] received everything.

2020-11-11 21:30:41 | [Mutex] isItemNotified: node_sk1zwh0203:subscribe_node:success :: true

2020-11-11 21:30:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 21:30:41 | command: <data><node>node_sk1zwh0203</node><expire-at>2020-11-12T05:30:46Z</expire-at><entry><content>content_wj86a90207</content></entry></data>

2020-11-11 21:30:41 | target: http://localhost:8088

2020-11-11 21:30:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-11 21:30:41 | entity: <data><node>node_sk1zwh0203</node><expire-at>2020-11-12T05:30:46Z</expire-at><entry><content>content_wj86a90207</content></entry></data>

2020-11-11 21:30:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 21:30:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ed26a97-e16e-4f82-84e2-dacfde6ad311</value></item-id></result>

2020-11-11 21:30:41 | contains: true

2020-11-11 21:30:49 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_wj86a90207]

2020-11-11 21:30:49 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_wj86a90207]

2020-11-11 21:30:49 | [Mutex] waiting for: [user_regularxwecve0202@test-domain.com:message:received:content_wj86a90207]

2020-11-11 21:31:04 | [Mutex] timeout. Not received [user_regularxwecve0202@test-domain.com:message:received:content_wj86a90207]

2020-11-11 21:31:04 | [Mutex] received everything.

2020-11-11 21:31:04 | [Mutex] isItemNotified: user_regularxwecve0202@test-domain.com:message:received:content_wj86a90207 :: false

2020-11-11 21:31:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wj86a90207 :: true