Test duration : 45.125s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.754s |
2020-09-15 00:01:50 |
2020-09-15 00:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-15 00:01:50 | ------------------------------------ 2020-09-15 00:01:50 | [Mutex] isItemNotified: node_o84bnf0203:exists :: false 2020-09-15 00:01:50 | [Mutex] waiting for: [node_o84bnf0203:create_node] 2020-09-15 00:01:50 | [Mutex] received everything. 2020-09-15 00:01:50 | [Mutex] isItemNotified: node_o84bnf0203:create_node:success :: true 2020-09-15 00:01:50 | [Mutex] waiting for: [node_o84bnf0203:subscribe_node] 2020-09-15 00:01:50 | [Mutex] waiting for: [node_o84bnf0203:subscribe_node] 2020-09-15 00:01:50 | [Mutex] received everything. 2020-09-15 00:01:50 | [Mutex] isItemNotified: node_o84bnf0203:subscribe_node:success :: true 2020-09-15 00:01:50 | ===== publishing normal message (to online) 2020-09-15 00:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 00:01:50 | command: <data><node>node_o84bnf0203</node><entry><content>content_cu4vp30204</content></entry></data> 2020-09-15 00:01:50 | target: http://localhost:8088 2020-09-15 00:01:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 00:01:50 | entity: <data><node>node_o84bnf0203</node><entry><content>content_cu4vp30204</content></entry></data> 2020-09-15 00:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 07:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 00:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b494f522-7871-41fe-a8c6-812e35646cfc</value></item-id></result> 2020-09-15 00:01:50 | contains: true 2020-09-15 00:01:50 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_cu4vp30204] 2020-09-15 00:01:50 | [Mutex] received everything. 2020-09-15 00:01:50 | [Mutex] isItemNotified: user_regular8pebc0202@test-domain.com:message:received:content_cu4vp30204 :: true 2020-09-15 00:01:50 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-15 00:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 00:01:50 | command: <data><node>node_o84bnf0203</node><expire-at>2020-09-15T07:01:45Z</expire-at><entry><content>content_tfxu6p0205</content></entry></data> 2020-09-15 00:01:50 | target: http://localhost:8088 2020-09-15 00:01:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 00:01:50 | entity: <data><node>node_o84bnf0203</node><expire-at>2020-09-15T07:01:45Z</expire-at><entry><content>content_tfxu6p0205</content></entry></data> 2020-09-15 00:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 07:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 00:01:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46159bae-9a7d-4dc4-a406-7428d47db710</value></item-id></result> 2020-09-15 00:01:51 | contains: true 2020-09-15 00:01:51 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_tfxu6p0205] 2020-09-15 00:02:06 | [Mutex] timeout. Not received [user_regular8pebc0202@test-domain.com:message:received:content_tfxu6p0205] 2020-09-15 00:02:06 | [Mutex] isItemNotified: user_regular8pebc0202@test-domain.com:message:received:content_tfxu6p0205 :: false 2020-09-15 00:02:06 | ===== publishing normal message (to offline) 2020-09-15 00:02:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 00:02:06 | command: <data><node>node_o84bnf0203</node><entry><content>content_voxtmn0206</content></entry></data> 2020-09-15 00:02:06 | target: http://localhost:8088 2020-09-15 00:02:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 00:02:06 | entity: <data><node>node_o84bnf0203</node><entry><content>content_voxtmn0206</content></entry></data> 2020-09-15 00:02:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 07:02:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 00:02:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96f65628-5332-471f-b15f-b705abf6d5dd</value></item-id></result> 2020-09-15 00:02:06 | contains: true 2020-09-15 00:02:11 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_voxtmn0206] 2020-09-15 00:02:11 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_voxtmn0206] 2020-09-15 00:02:11 | [Mutex] received everything. 2020-09-15 00:02:11 | [Mutex] isItemNotified: user_regular8pebc0202@test-domain.com:message:received:content_voxtmn0206 :: true 2020-09-15 00:02:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-15 00:02:11 | [Mutex] received everything. 2020-09-15 00:02:11 | [Mutex] isItemNotified: node_o84bnf0203:subscribe_node:success :: true 2020-09-15 00:02:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 00:02:11 | command: <data><node>node_o84bnf0203</node><expire-at>2020-09-15T07:02:16Z</expire-at><entry><content>content_oybl5m0207</content></entry></data> 2020-09-15 00:02:11 | target: http://localhost:8088 2020-09-15 00:02:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 00:02:11 | entity: <data><node>node_o84bnf0203</node><expire-at>2020-09-15T07:02:16Z</expire-at><entry><content>content_oybl5m0207</content></entry></data> 2020-09-15 00:02:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 07:02:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 00:02:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7cbc9046-99ac-4482-8b5f-7cb1234df234</value></item-id></result> 2020-09-15 00:02:11 | contains: true 2020-09-15 00:02:19 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_oybl5m0207] 2020-09-15 00:02:19 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_oybl5m0207] 2020-09-15 00:02:19 | [Mutex] waiting for: [user_regular8pebc0202@test-domain.com:message:received:content_oybl5m0207] 2020-09-15 00:02:34 | [Mutex] timeout. Not received [user_regular8pebc0202@test-domain.com:message:received:content_oybl5m0207] 2020-09-15 00:02:34 | [Mutex] received everything. 2020-09-15 00:02:34 | [Mutex] isItemNotified: user_regular8pebc0202@test-domain.com:message:received:content_oybl5m0207 :: false 2020-09-15 00:02:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oybl5m0207 :: true |