Test duration : 44.663s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.573s |
2023-06-22 22:30:36 |
2023-06-22 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-06-22 22:30:36 | ------------------------------------ 2023-06-22 22:30:36 | [Mutex] isItemNotified: node_m9ydp30208:exists :: false 2023-06-22 22:30:36 | [Mutex] waiting for: [node_m9ydp30208:create_node] 2023-06-22 22:30:36 | [Mutex] waiting for: [node_m9ydp30208:create_node] 2023-06-22 22:30:36 | [Mutex] received everything. 2023-06-22 22:30:36 | [Mutex] isItemNotified: node_m9ydp30208:create_node:success :: true 2023-06-22 22:30:36 | [Mutex] waiting for: [node_m9ydp30208:subscribe_node] 2023-06-22 22:30:36 | [Mutex] waiting for: [node_m9ydp30208:subscribe_node] 2023-06-22 22:30:36 | [Mutex] received everything. 2023-06-22 22:30:36 | [Mutex] isItemNotified: node_m9ydp30208:subscribe_node:success :: true 2023-06-22 22:30:36 | ===== publishing normal message (to online) 2023-06-22 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-22 22:30:36 | command: <data><node>node_m9ydp30208</node><entry><content>content_8wrzwc0209</content></entry></data> 2023-06-22 22:30:36 | target: http://localhost:8088 2023-06-22 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-22 22:30:36 | entity: <data><node>node_m9ydp30208</node><entry><content>content_8wrzwc0209</content></entry></data> 2023-06-22 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-22 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>81e36454-a0ba-4936-aba7-16a69e22c470</value></item-id></result> 2023-06-22 22:30:36 | contains: true 2023-06-22 22:30:36 | [Mutex] received everything. 2023-06-22 22:30:36 | [Mutex] isItemNotified: user_regulard6k5f10207@test-domain.com:message:received:content_8wrzwc0209 :: true 2023-06-22 22:30:36 | ===== publishing already old message - expecting message being filtered out (to online) 2023-06-22 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-22 22:30:36 | command: <data><node>node_m9ydp30208</node><expire-at>2023-06-23T05:30:31Z</expire-at><entry><content>content_l5rau30210</content></entry></data> 2023-06-22 22:30:36 | target: http://localhost:8088 2023-06-22 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-22 22:30:36 | entity: <data><node>node_m9ydp30208</node><expire-at>2023-06-23T05:30:31Z</expire-at><entry><content>content_l5rau30210</content></entry></data> 2023-06-22 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-22 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>72a22864-1696-4d6d-9dbe-0a1c63d0ed7c</value></item-id></result> 2023-06-22 22:30:36 | contains: true 2023-06-22 22:30:36 | [Mutex] waiting for: [user_regulard6k5f10207@test-domain.com:message:received:content_l5rau30210] 2023-06-22 22:30:51 | [Mutex] timeout. Not received [user_regulard6k5f10207@test-domain.com:message:received:content_l5rau30210] 2023-06-22 22:30:51 | [Mutex] isItemNotified: user_regulard6k5f10207@test-domain.com:message:received:content_l5rau30210 :: false 2023-06-22 22:30:51 | ===== publishing normal message (to offline) 2023-06-22 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-22 22:30:51 | command: <data><node>node_m9ydp30208</node><entry><content>content_z79hjq0211</content></entry></data> 2023-06-22 22:30:51 | target: http://localhost:8088 2023-06-22 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-22 22:30:51 | entity: <data><node>node_m9ydp30208</node><entry><content>content_z79hjq0211</content></entry></data> 2023-06-22 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-22 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ee0f225-8ae5-4ccb-a1b2-20a121c2e9b6</value></item-id></result> 2023-06-22 22:30:51 | contains: true 2023-06-22 22:30:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-22 22:30:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-06-22 22:30:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-22 22:30:57 | [Mutex] waiting for: [user_regulard6k5f10207@test-domain.com:message:received:content_z79hjq0211] 2023-06-22 22:30:57 | [Mutex] waiting for: [user_regulard6k5f10207@test-domain.com:message:received:content_z79hjq0211] 2023-06-22 22:30:57 | [Mutex] received everything. 2023-06-22 22:30:57 | [Mutex] isItemNotified: user_regulard6k5f10207@test-domain.com:message:received:content_z79hjq0211 :: true 2023-06-22 22:30:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-06-22 22:30:57 | [Mutex] received everything. 2023-06-22 22:30:57 | [Mutex] isItemNotified: node_m9ydp30208:subscribe_node:success :: true 2023-06-22 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-22 22:30:57 | command: <data><node>node_m9ydp30208</node><expire-at>2023-06-23T05:31:02Z</expire-at><entry><content>content_ixnho60212</content></entry></data> 2023-06-22 22:30:57 | target: http://localhost:8088 2023-06-22 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-22 22:30:57 | entity: <data><node>node_m9ydp30208</node><expire-at>2023-06-23T05:31:02Z</expire-at><entry><content>content_ixnho60212</content></entry></data> 2023-06-22 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-22 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e75d2ab1-b3c6-485b-a31b-3de033dd86ca</value></item-id></result> 2023-06-22 22:30:57 | contains: true 2023-06-22 22:31:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-22 22:31:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-06-22 22:31:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-22 22:31:05 | [Mutex] waiting for: [user_regulard6k5f10207@test-domain.com:message:received:content_ixnho60212] 2023-06-22 22:31:05 | [Mutex] waiting for: [user_regulard6k5f10207@test-domain.com:message:received:content_ixnho60212] 2023-06-22 22:31:20 | [Mutex] timeout. Not received [user_regulard6k5f10207@test-domain.com:message:received:content_ixnho60212] 2023-06-22 22:31:20 | [Mutex] received everything. 2023-06-22 22:31:20 | [Mutex] isItemNotified: user_regulard6k5f10207@test-domain.com:message:received:content_ixnho60212 :: false 2023-06-22 22:31:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ixnho60212 :: true |