Test duration : 44.738s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.536s |
2022-12-22 22:02:56 |
2022-12-22 22:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-22 22:02:56 | ------------------------------------ 2022-12-22 22:02:56 | [Mutex] isItemNotified: node_rnfo2c0204:exists :: false 2022-12-22 22:02:56 | [Mutex] waiting for: [node_rnfo2c0204:create_node] 2022-12-22 22:02:56 | [Mutex] received everything. 2022-12-22 22:02:56 | [Mutex] isItemNotified: node_rnfo2c0204:create_node:success :: true 2022-12-22 22:02:56 | [Mutex] waiting for: [node_rnfo2c0204:subscribe_node] 2022-12-22 22:02:56 | [Mutex] waiting for: [node_rnfo2c0204:subscribe_node] 2022-12-22 22:02:57 | [Mutex] received everything. 2022-12-22 22:02:57 | [Mutex] isItemNotified: node_rnfo2c0204:subscribe_node:success :: true 2022-12-22 22:02:57 | ===== publishing normal message (to online) 2022-12-22 22:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:02:57 | command: <data><node>node_rnfo2c0204</node><entry><content>content_hnxu880205</content></entry></data> 2022-12-22 22:02:57 | target: http://localhost:8088 2022-12-22 22:02:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 22:02:57 | entity: <data><node>node_rnfo2c0204</node><entry><content>content_hnxu880205</content></entry></data> 2022-12-22 22:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01a0835e-cb9d-4bea-8b26-48670ed24aca</value></item-id></result> 2022-12-22 22:02:57 | contains: true 2022-12-22 22:02:57 | [Mutex] received everything. 2022-12-22 22:02:57 | [Mutex] isItemNotified: user_regular8ze59p0203@test-domain.com:message:received:content_hnxu880205 :: true 2022-12-22 22:02:57 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-22 22:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:02:57 | command: <data><node>node_rnfo2c0204</node><expire-at>2022-12-23T06:02:52Z</expire-at><entry><content>content_jod1xl0206</content></entry></data> 2022-12-22 22:02:57 | target: http://localhost:8088 2022-12-22 22:02:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 22:02:57 | entity: <data><node>node_rnfo2c0204</node><expire-at>2022-12-23T06:02:52Z</expire-at><entry><content>content_jod1xl0206</content></entry></data> 2022-12-22 22:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5405f8f-fbe8-4064-a548-641ca3546dc3</value></item-id></result> 2022-12-22 22:02:57 | contains: true 2022-12-22 22:02:57 | [Mutex] waiting for: [user_regular8ze59p0203@test-domain.com:message:received:content_jod1xl0206] 2022-12-22 22:03:12 | [Mutex] timeout. Not received [user_regular8ze59p0203@test-domain.com:message:received:content_jod1xl0206] 2022-12-22 22:03:12 | [Mutex] isItemNotified: user_regular8ze59p0203@test-domain.com:message:received:content_jod1xl0206 :: false 2022-12-22 22:03:12 | ===== publishing normal message (to offline) 2022-12-22 22:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:03:12 | command: <data><node>node_rnfo2c0204</node><entry><content>content_kaabec0207</content></entry></data> 2022-12-22 22:03:12 | target: http://localhost:8088 2022-12-22 22:03:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 22:03:12 | entity: <data><node>node_rnfo2c0204</node><entry><content>content_kaabec0207</content></entry></data> 2022-12-22 22:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f35da599-2d25-43c2-9551-ec988474bc76</value></item-id></result> 2022-12-22 22:03:12 | contains: true 2022-12-22 22:03:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 22:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 22:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 22:03:17 | [Mutex] waiting for: [user_regular8ze59p0203@test-domain.com:message:received:content_kaabec0207] 2022-12-22 22:03:17 | [Mutex] waiting for: [user_regular8ze59p0203@test-domain.com:message:received:content_kaabec0207] 2022-12-22 22:03:17 | [Mutex] received everything. 2022-12-22 22:03:17 | [Mutex] isItemNotified: user_regular8ze59p0203@test-domain.com:message:received:content_kaabec0207 :: true 2022-12-22 22:03:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-22 22:03:17 | [Mutex] received everything. 2022-12-22 22:03:17 | [Mutex] isItemNotified: node_rnfo2c0204:subscribe_node:success :: true 2022-12-22 22:03:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:03:17 | command: <data><node>node_rnfo2c0204</node><expire-at>2022-12-23T06:03:22Z</expire-at><entry><content>content_pnyoz50208</content></entry></data> 2022-12-22 22:03:17 | target: http://localhost:8088 2022-12-22 22:03:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 22:03:17 | entity: <data><node>node_rnfo2c0204</node><expire-at>2022-12-23T06:03:22Z</expire-at><entry><content>content_pnyoz50208</content></entry></data> 2022-12-22 22:03:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:03:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:03:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c8a781b0-49c7-4a5c-945f-eab275d7224f</value></item-id></result> 2022-12-22 22:03:17 | contains: true 2022-12-22 22:03:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 22:03:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 22:03:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 22:03:25 | [Mutex] waiting for: [user_regular8ze59p0203@test-domain.com:message:received:content_pnyoz50208] 2022-12-22 22:03:40 | [Mutex] timeout. Not received [user_regular8ze59p0203@test-domain.com:message:received:content_pnyoz50208] 2022-12-22 22:03:40 | [Mutex] received everything. 2022-12-22 22:03:40 | [Mutex] isItemNotified: user_regular8ze59p0203@test-domain.com:message:received:content_pnyoz50208 :: false 2022-12-22 22:03:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pnyoz50208 :: true |