Test duration : 44.372s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.558s |
2022-11-24 03:56:49 |
2022-11-24 03:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-24 03:56:49 | ------------------------------------ 2022-11-24 03:56:49 | [Mutex] isItemNotified: node_7cc8lh0204:exists :: false 2022-11-24 03:56:49 | [Mutex] waiting for: [node_7cc8lh0204:create_node] 2022-11-24 03:56:49 | [Mutex] received everything. 2022-11-24 03:56:49 | [Mutex] isItemNotified: node_7cc8lh0204:create_node:success :: true 2022-11-24 03:56:49 | [Mutex] waiting for: [node_7cc8lh0204:subscribe_node] 2022-11-24 03:56:49 | [Mutex] waiting for: [node_7cc8lh0204:subscribe_node] 2022-11-24 03:56:49 | [Mutex] received everything. 2022-11-24 03:56:49 | [Mutex] isItemNotified: node_7cc8lh0204:subscribe_node:success :: true 2022-11-24 03:56:49 | ===== publishing normal message (to online) 2022-11-24 03:56:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 03:56:49 | command: <data><node>node_7cc8lh0204</node><entry><content>content_36c63b0205</content></entry></data> 2022-11-24 03:56:49 | target: http://localhost:8088 2022-11-24 03:56:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 03:56:49 | entity: <data><node>node_7cc8lh0204</node><entry><content>content_36c63b0205</content></entry></data> 2022-11-24 03:56:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:56:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 03:56:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b5bb45b-a5a8-4211-ab30-87cb02f19392</value></item-id></result> 2022-11-24 03:56:49 | contains: true 2022-11-24 03:56:49 | [Mutex] waiting for: [user_regulard3bywe0203@test-domain.com:message:received:content_36c63b0205] 2022-11-24 03:56:49 | [Mutex] received everything. 2022-11-24 03:56:49 | [Mutex] isItemNotified: user_regulard3bywe0203@test-domain.com:message:received:content_36c63b0205 :: true 2022-11-24 03:56:49 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-24 03:56:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 03:56:49 | command: <data><node>node_7cc8lh0204</node><expire-at>2022-11-24T11:56:44Z</expire-at><entry><content>content_cgav3g0206</content></entry></data> 2022-11-24 03:56:49 | target: http://localhost:8088 2022-11-24 03:56:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 03:56:49 | entity: <data><node>node_7cc8lh0204</node><expire-at>2022-11-24T11:56:44Z</expire-at><entry><content>content_cgav3g0206</content></entry></data> 2022-11-24 03:56:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:56:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 03:56:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3bec350-f876-4c92-8f50-3657009780c7</value></item-id></result> 2022-11-24 03:56:49 | contains: true 2022-11-24 03:56:49 | [Mutex] waiting for: [user_regulard3bywe0203@test-domain.com:message:received:content_cgav3g0206] 2022-11-24 03:57:04 | [Mutex] timeout. Not received [user_regulard3bywe0203@test-domain.com:message:received:content_cgav3g0206] 2022-11-24 03:57:04 | [Mutex] isItemNotified: user_regulard3bywe0203@test-domain.com:message:received:content_cgav3g0206 :: false 2022-11-24 03:57:04 | ===== publishing normal message (to offline) 2022-11-24 03:57:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 03:57:04 | command: <data><node>node_7cc8lh0204</node><entry><content>content_jim28k0207</content></entry></data> 2022-11-24 03:57:04 | target: http://localhost:8088 2022-11-24 03:57:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 03:57:04 | entity: <data><node>node_7cc8lh0204</node><entry><content>content_jim28k0207</content></entry></data> 2022-11-24 03:57:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:57:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 03:57:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec2f9aae-c25a-4d13-b2f8-363ac98a7375</value></item-id></result> 2022-11-24 03:57:04 | contains: true 2022-11-24 03:57:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 03:57:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 03:57:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 03:57:09 | [Mutex] waiting for: [user_regulard3bywe0203@test-domain.com:message:received:content_jim28k0207] 2022-11-24 03:57:09 | [Mutex] waiting for: [user_regulard3bywe0203@test-domain.com:message:received:content_jim28k0207] 2022-11-24 03:57:09 | [Mutex] received everything. 2022-11-24 03:57:09 | [Mutex] isItemNotified: user_regulard3bywe0203@test-domain.com:message:received:content_jim28k0207 :: true 2022-11-24 03:57:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-24 03:57:09 | [Mutex] received everything. 2022-11-24 03:57:09 | [Mutex] isItemNotified: node_7cc8lh0204:subscribe_node:success :: true 2022-11-24 03:57:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 03:57:09 | command: <data><node>node_7cc8lh0204</node><expire-at>2022-11-24T11:57:14Z</expire-at><entry><content>content_24u6om0208</content></entry></data> 2022-11-24 03:57:09 | target: http://localhost:8088 2022-11-24 03:57:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 03:57:09 | entity: <data><node>node_7cc8lh0204</node><expire-at>2022-11-24T11:57:14Z</expire-at><entry><content>content_24u6om0208</content></entry></data> 2022-11-24 03:57:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:57:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 03:57:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c0aafca9-dc54-49e8-a96c-6e5e431c0080</value></item-id></result> 2022-11-24 03:57:09 | contains: true 2022-11-24 03:57:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 03:57:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 03:57:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 03:57:17 | [Mutex] waiting for: [user_regulard3bywe0203@test-domain.com:message:received:content_24u6om0208] 2022-11-24 03:57:32 | [Mutex] timeout. Not received [user_regulard3bywe0203@test-domain.com:message:received:content_24u6om0208] 2022-11-24 03:57:32 | [Mutex] received everything. 2022-11-24 03:57:32 | [Mutex] isItemNotified: user_regulard3bywe0203@test-domain.com:message:received:content_24u6om0208 :: false 2022-11-24 03:57:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_24u6om0208 :: true |