Test duration : 45.494s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.700s |
2022-02-20 22:13:59 |
2022-02-20 22:13:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-20 22:13:59 | ------------------------------------ 2022-02-20 22:13:59 | [Mutex] isItemNotified: node_473q470203:exists :: false 2022-02-20 22:13:59 | [Mutex] waiting for: [node_473q470203:create_node] 2022-02-20 22:13:59 | [Mutex] received everything. 2022-02-20 22:13:59 | [Mutex] isItemNotified: node_473q470203:create_node:success :: true 2022-02-20 22:13:59 | [Mutex] waiting for: [node_473q470203:subscribe_node] 2022-02-20 22:13:59 | [Mutex] received everything. 2022-02-20 22:13:59 | [Mutex] isItemNotified: node_473q470203:subscribe_node:success :: true 2022-02-20 22:13:59 | ===== publishing normal message (to online) 2022-02-20 22:13:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:13:59 | command: <data><node>node_473q470203</node><entry><content>content_ojavkp0204</content></entry></data> 2022-02-20 22:13:59 | target: http://localhost:8088 2022-02-20 22:13:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 22:13:59 | entity: <data><node>node_473q470203</node><entry><content>content_ojavkp0204</content></entry></data> 2022-02-20 22:13:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:13:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:13:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b77da829-ed56-459f-9c50-7679ee65756c</value></item-id></result> 2022-02-20 22:13:59 | contains: true 2022-02-20 22:13:59 | [Mutex] received everything. 2022-02-20 22:13:59 | [Mutex] isItemNotified: user_regular9syoox0202@test-domain.com:message:received:content_ojavkp0204 :: true 2022-02-20 22:13:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-20 22:13:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:13:59 | command: <data><node>node_473q470203</node><expire-at>2022-02-21T06:13:54Z</expire-at><entry><content>content_s60z7s0205</content></entry></data> 2022-02-20 22:13:59 | target: http://localhost:8088 2022-02-20 22:13:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 22:13:59 | entity: <data><node>node_473q470203</node><expire-at>2022-02-21T06:13:54Z</expire-at><entry><content>content_s60z7s0205</content></entry></data> 2022-02-20 22:13:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:13:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:13:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3e7e85ad-4585-4ca8-9d07-5cfa1dadf578</value></item-id></result> 2022-02-20 22:13:59 | contains: true 2022-02-20 22:13:59 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_s60z7s0205] 2022-02-20 22:14:14 | [Mutex] timeout. Not received [user_regular9syoox0202@test-domain.com:message:received:content_s60z7s0205] 2022-02-20 22:14:14 | [Mutex] isItemNotified: user_regular9syoox0202@test-domain.com:message:received:content_s60z7s0205 :: false 2022-02-20 22:14:14 | ===== publishing normal message (to offline) 2022-02-20 22:14:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:14:14 | command: <data><node>node_473q470203</node><entry><content>content_d62tzv0206</content></entry></data> 2022-02-20 22:14:14 | target: http://localhost:8088 2022-02-20 22:14:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 22:14:14 | entity: <data><node>node_473q470203</node><entry><content>content_d62tzv0206</content></entry></data> 2022-02-20 22:14:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:14:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:14:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d4d1b199-1696-4b3a-801b-1782d539de84</value></item-id></result> 2022-02-20 22:14:14 | contains: true 2022-02-20 22:14:19 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_d62tzv0206] 2022-02-20 22:14:19 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_d62tzv0206] 2022-02-20 22:14:19 | [Mutex] received everything. 2022-02-20 22:14:19 | [Mutex] isItemNotified: user_regular9syoox0202@test-domain.com:message:received:content_d62tzv0206 :: true 2022-02-20 22:14:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-20 22:14:19 | [Mutex] received everything. 2022-02-20 22:14:19 | [Mutex] isItemNotified: node_473q470203:subscribe_node:success :: true 2022-02-20 22:14:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:14:19 | command: <data><node>node_473q470203</node><expire-at>2022-02-21T06:14:24Z</expire-at><entry><content>content_987ksb0207</content></entry></data> 2022-02-20 22:14:19 | target: http://localhost:8088 2022-02-20 22:14:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 22:14:19 | entity: <data><node>node_473q470203</node><expire-at>2022-02-21T06:14:24Z</expire-at><entry><content>content_987ksb0207</content></entry></data> 2022-02-20 22:14:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:14:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:14:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da6e076b-f7d7-4970-ad1e-7d9421222ffb</value></item-id></result> 2022-02-20 22:14:20 | contains: true 2022-02-20 22:14:28 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_987ksb0207] 2022-02-20 22:14:28 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_987ksb0207] 2022-02-20 22:14:28 | [Mutex] waiting for: [user_regular9syoox0202@test-domain.com:message:received:content_987ksb0207] 2022-02-20 22:14:43 | [Mutex] timeout. Not received [user_regular9syoox0202@test-domain.com:message:received:content_987ksb0207] 2022-02-20 22:14:43 | [Mutex] received everything. 2022-02-20 22:14:43 | [Mutex] isItemNotified: user_regular9syoox0202@test-domain.com:message:received:content_987ksb0207 :: false 2022-02-20 22:14:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_987ksb0207 :: true |