Generated by TestNG with ReportNG at 22:46 PDT on Friday 09 October 2020
root@eaa73862192b / 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.810s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.778s
2020-10-09 23:03:33 |

2020-10-09 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-09 23:03:33 | ------------------------------------

2020-10-09 23:03:33 | [Mutex] isItemNotified: node_lg7xb50203:exists :: false

2020-10-09 23:03:33 | [Mutex] waiting for: [node_lg7xb50203:create_node]

2020-10-09 23:03:33 | [Mutex] received everything.

2020-10-09 23:03:33 | [Mutex] isItemNotified: node_lg7xb50203:create_node:success :: true

2020-10-09 23:03:33 | [Mutex] waiting for: [node_lg7xb50203:subscribe_node]

2020-10-09 23:03:33 | [Mutex] received everything.

2020-10-09 23:03:33 | [Mutex] isItemNotified: node_lg7xb50203:subscribe_node:success :: true

2020-10-09 23:03:33 |


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


2020-10-09 23:03:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:33 | command: <data><node>node_lg7xb50203</node><entry><content>content_geslq20204</content></entry></data>

2020-10-09 23:03:33 | target: http://localhost:8088

2020-10-09 23:03:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-09 23:03:33 | entity: <data><node>node_lg7xb50203</node><entry><content>content_geslq20204</content></entry></data>

2020-10-09 23:03:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b237e988-9570-48cf-aef6-25ba5a676f8e</value></item-id></result>

2020-10-09 23:03:33 | contains: true

2020-10-09 23:03:33 | [Mutex] waiting for: [user_regular6y1ful0202@test-domain.com:message:received:content_geslq20204]

2020-10-09 23:03:33 | [Mutex] received everything.

2020-10-09 23:03:33 | [Mutex] isItemNotified: user_regular6y1ful0202@test-domain.com:message:received:content_geslq20204 :: true

2020-10-09 23:03:33 |


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


2020-10-09 23:03:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:33 | command: <data><node>node_lg7xb50203</node><expire-at>2020-10-10T06:03:28Z</expire-at><entry><content>content_omul4g0205</content></entry></data>

2020-10-09 23:03:33 | target: http://localhost:8088

2020-10-09 23:03:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 23:03:33 | entity: <data><node>node_lg7xb50203</node><expire-at>2020-10-10T06:03:28Z</expire-at><entry><content>content_omul4g0205</content></entry></data>

2020-10-09 23:03:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4ca33a8-b3ec-483f-b579-de0366ba450a</value></item-id></result>

2020-10-09 23:03:33 | contains: true

2020-10-09 23:03:33 | [Mutex] waiting for: [user_regular6y1ful0202@test-domain.com:message:received:content_omul4g0205]

2020-10-09 23:03:48 | [Mutex] timeout. Not received [user_regular6y1ful0202@test-domain.com:message:received:content_omul4g0205]

2020-10-09 23:03:48 | [Mutex] isItemNotified: user_regular6y1ful0202@test-domain.com:message:received:content_omul4g0205 :: false

2020-10-09 23:03:48 |


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


2020-10-09 23:03:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:48 | command: <data><node>node_lg7xb50203</node><entry><content>content_rcgcic0206</content></entry></data>

2020-10-09 23:03:48 | target: http://localhost:8088

2020-10-09 23:03:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-09 23:03:48 | entity: <data><node>node_lg7xb50203</node><entry><content>content_rcgcic0206</content></entry></data>

2020-10-09 23:03:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d3c4e2fd-b791-49cb-9d5d-6460f254de1b</value></item-id></result>

2020-10-09 23:03:48 | contains: true

2020-10-09 23:03:53 | [Mutex] waiting for: [user_regular6y1ful0202@test-domain.com:message:received:content_rcgcic0206]

2020-10-09 23:03:53 | [Mutex] received everything.

2020-10-09 23:03:53 | [Mutex] isItemNotified: user_regular6y1ful0202@test-domain.com:message:received:content_rcgcic0206 :: true

2020-10-09 23:03:53 |


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


2020-10-09 23:03:53 | [Mutex] received everything.

2020-10-09 23:03:53 | [Mutex] isItemNotified: node_lg7xb50203:subscribe_node:success :: true

2020-10-09 23:03:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:53 | command: <data><node>node_lg7xb50203</node><expire-at>2020-10-10T06:03:58Z</expire-at><entry><content>content_nbdbx50207</content></entry></data>

2020-10-09 23:03:53 | target: http://localhost:8088

2020-10-09 23:03:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 23:03:53 | entity: <data><node>node_lg7xb50203</node><expire-at>2020-10-10T06:03:58Z</expire-at><entry><content>content_nbdbx50207</content></entry></data>

2020-10-09 23:03:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe84ac63-7093-4ecc-b508-5f6e2c494ce9</value></item-id></result>

2020-10-09 23:03:53 | contains: true

2020-10-09 23:04:02 | [Mutex] waiting for: [user_regular6y1ful0202@test-domain.com:message:received:content_nbdbx50207]

2020-10-09 23:04:02 | [Mutex] waiting for: [user_regular6y1ful0202@test-domain.com:message:received:content_nbdbx50207]

2020-10-09 23:04:17 | [Mutex] timeout. Not received [user_regular6y1ful0202@test-domain.com:message:received:content_nbdbx50207]

2020-10-09 23:04:17 | [Mutex] received everything.

2020-10-09 23:04:17 | [Mutex] isItemNotified: user_regular6y1ful0202@test-domain.com:message:received:content_nbdbx50207 :: false

2020-10-09 23:04:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nbdbx50207 :: true