Test duration : 44.831s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.661s |
2022-07-01 23:02:40 |
2022-07-01 23:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-01 23:02:40 | ------------------------------------ 2022-07-01 23:02:40 | [Mutex] isItemNotified: node_4u3qzb0204:exists :: false 2022-07-01 23:02:40 | [Mutex] waiting for: [node_4u3qzb0204:create_node] 2022-07-01 23:02:40 | [Mutex] received everything. 2022-07-01 23:02:40 | [Mutex] isItemNotified: node_4u3qzb0204:create_node:success :: true 2022-07-01 23:02:40 | [Mutex] waiting for: [node_4u3qzb0204:subscribe_node] 2022-07-01 23:02:40 | [Mutex] waiting for: [node_4u3qzb0204:subscribe_node] 2022-07-01 23:02:40 | [Mutex] received everything. 2022-07-01 23:02:40 | [Mutex] isItemNotified: node_4u3qzb0204:subscribe_node:success :: true 2022-07-01 23:02:40 | ===== publishing normal message (to online) 2022-07-01 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 23:02:40 | command: <data><node>node_4u3qzb0204</node><entry><content>content_8gf5ti0205</content></entry></data> 2022-07-01 23:02:40 | target: http://localhost:8088 2022-07-01 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-01 23:02:40 | entity: <data><node>node_4u3qzb0204</node><entry><content>content_8gf5ti0205</content></entry></data> 2022-07-01 23:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb3c87e8-f686-4d0d-81d6-22664ef2633c</value></item-id></result> 2022-07-01 23:02:40 | contains: true 2022-07-01 23:02:40 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_8gf5ti0205] 2022-07-01 23:02:40 | [Mutex] received everything. 2022-07-01 23:02:40 | [Mutex] isItemNotified: user_regularw1z38y0203@test-domain.com:message:received:content_8gf5ti0205 :: true 2022-07-01 23:02:40 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-01 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 23:02:40 | command: <data><node>node_4u3qzb0204</node><expire-at>2022-07-02T06:02:35Z</expire-at><entry><content>content_fb36810206</content></entry></data> 2022-07-01 23:02:40 | target: http://localhost:8088 2022-07-01 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-01 23:02:40 | entity: <data><node>node_4u3qzb0204</node><expire-at>2022-07-02T06:02:35Z</expire-at><entry><content>content_fb36810206</content></entry></data> 2022-07-01 23:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e8bdd00-4aa3-4717-8b5e-f4e8be93ee71</value></item-id></result> 2022-07-01 23:02:40 | contains: true 2022-07-01 23:02:40 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_fb36810206] 2022-07-01 23:02:55 | [Mutex] timeout. Not received [user_regularw1z38y0203@test-domain.com:message:received:content_fb36810206] 2022-07-01 23:02:55 | [Mutex] isItemNotified: user_regularw1z38y0203@test-domain.com:message:received:content_fb36810206 :: false 2022-07-01 23:02:55 | ===== publishing normal message (to offline) 2022-07-01 23:02:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 23:02:55 | command: <data><node>node_4u3qzb0204</node><entry><content>content_1bkjg30207</content></entry></data> 2022-07-01 23:02:55 | target: http://localhost:8088 2022-07-01 23:02:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-01 23:02:55 | entity: <data><node>node_4u3qzb0204</node><entry><content>content_1bkjg30207</content></entry></data> 2022-07-01 23:02:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:02:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 23:02:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>41f4b629-f77d-466d-91d0-2a53d9eaaf52</value></item-id></result> 2022-07-01 23:02:55 | contains: true 2022-07-01 23:03:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-01 23:03:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-01 23:03:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-01 23:03:00 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_1bkjg30207] 2022-07-01 23:03:00 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_1bkjg30207] 2022-07-01 23:03:00 | [Mutex] received everything. 2022-07-01 23:03:00 | [Mutex] isItemNotified: user_regularw1z38y0203@test-domain.com:message:received:content_1bkjg30207 :: true 2022-07-01 23:03:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-01 23:03:00 | [Mutex] received everything. 2022-07-01 23:03:00 | [Mutex] isItemNotified: node_4u3qzb0204:subscribe_node:success :: true 2022-07-01 23:03:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 23:03:00 | command: <data><node>node_4u3qzb0204</node><expire-at>2022-07-02T06:03:05Z</expire-at><entry><content>content_bbjyty0208</content></entry></data> 2022-07-01 23:03:00 | target: http://localhost:8088 2022-07-01 23:03:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-01 23:03:00 | entity: <data><node>node_4u3qzb0204</node><expire-at>2022-07-02T06:03:05Z</expire-at><entry><content>content_bbjyty0208</content></entry></data> 2022-07-01 23:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 06:03:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 23:03:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19d11d58-5216-4c11-bd4c-d132941c05c9</value></item-id></result> 2022-07-01 23:03:00 | contains: true 2022-07-01 23:03:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-01 23:03:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-01 23:03:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-01 23:03:09 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_bbjyty0208] 2022-07-01 23:03:09 | [Mutex] waiting for: [user_regularw1z38y0203@test-domain.com:message:received:content_bbjyty0208] 2022-07-01 23:03:24 | [Mutex] timeout. Not received [user_regularw1z38y0203@test-domain.com:message:received:content_bbjyty0208] 2022-07-01 23:03:24 | [Mutex] received everything. 2022-07-01 23:03:24 | [Mutex] isItemNotified: user_regularw1z38y0203@test-domain.com:message:received:content_bbjyty0208 :: false 2022-07-01 23:03:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bbjyty0208 :: true |