Test duration : 44.691s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.583s |
2022-07-15 23:04:37 |
2022-07-15 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-15 23:04:37 | ------------------------------------ 2022-07-15 23:04:37 | [Mutex] isItemNotified: node_vndl0p0204:exists :: false 2022-07-15 23:04:37 | [Mutex] waiting for: [node_vndl0p0204:create_node] 2022-07-15 23:04:37 | [Mutex] received everything. 2022-07-15 23:04:37 | [Mutex] isItemNotified: node_vndl0p0204:create_node:success :: true 2022-07-15 23:04:37 | [Mutex] waiting for: [node_vndl0p0204:subscribe_node] 2022-07-15 23:04:37 | [Mutex] received everything. 2022-07-15 23:04:37 | [Mutex] isItemNotified: node_vndl0p0204:subscribe_node:success :: true 2022-07-15 23:04:37 | ===== publishing normal message (to online) 2022-07-15 23:04:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:04:37 | command: <data><node>node_vndl0p0204</node><entry><content>content_nsviov0205</content></entry></data> 2022-07-15 23:04:37 | target: http://localhost:8088 2022-07-15 23:04:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 23:04:37 | entity: <data><node>node_vndl0p0204</node><entry><content>content_nsviov0205</content></entry></data> 2022-07-15 23:04:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:04:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:04:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1dec91c6-5336-438a-a78a-76c7a4d10d4f</value></item-id></result> 2022-07-15 23:04:37 | contains: true 2022-07-15 23:04:37 | [Mutex] received everything. 2022-07-15 23:04:37 | [Mutex] isItemNotified: user_regularytyiyl0203@test-domain.com:message:received:content_nsviov0205 :: true 2022-07-15 23:04:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-15 23:04:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:04:37 | command: <data><node>node_vndl0p0204</node><expire-at>2022-07-16T06:04:32Z</expire-at><entry><content>content_4wsom40206</content></entry></data> 2022-07-15 23:04:37 | target: http://localhost:8088 2022-07-15 23:04:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 23:04:37 | entity: <data><node>node_vndl0p0204</node><expire-at>2022-07-16T06:04:32Z</expire-at><entry><content>content_4wsom40206</content></entry></data> 2022-07-15 23:04:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:04:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:04:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>154c623c-5a24-4d6b-be6b-d5ec2c0ceca5</value></item-id></result> 2022-07-15 23:04:38 | contains: true 2022-07-15 23:04:38 | [Mutex] waiting for: [user_regularytyiyl0203@test-domain.com:message:received:content_4wsom40206] 2022-07-15 23:04:53 | [Mutex] timeout. Not received [user_regularytyiyl0203@test-domain.com:message:received:content_4wsom40206] 2022-07-15 23:04:53 | [Mutex] isItemNotified: user_regularytyiyl0203@test-domain.com:message:received:content_4wsom40206 :: false 2022-07-15 23:04:53 | ===== publishing normal message (to offline) 2022-07-15 23:04:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:04:53 | command: <data><node>node_vndl0p0204</node><entry><content>content_7tksxo0207</content></entry></data> 2022-07-15 23:04:53 | target: http://localhost:8088 2022-07-15 23:04:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 23:04:53 | entity: <data><node>node_vndl0p0204</node><entry><content>content_7tksxo0207</content></entry></data> 2022-07-15 23:04:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:04:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:04:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>27fb0c52-3d56-4fdd-afab-38f48d1dbea6</value></item-id></result> 2022-07-15 23:04:53 | contains: true 2022-07-15 23:04:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-15 23:04:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-15 23:04:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-15 23:04:58 | [Mutex] waiting for: [user_regularytyiyl0203@test-domain.com:message:received:content_7tksxo0207] 2022-07-15 23:04:58 | [Mutex] received everything. 2022-07-15 23:04:58 | [Mutex] isItemNotified: user_regularytyiyl0203@test-domain.com:message:received:content_7tksxo0207 :: true 2022-07-15 23:04:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-15 23:04:58 | [Mutex] received everything. 2022-07-15 23:04:58 | [Mutex] isItemNotified: node_vndl0p0204:subscribe_node:success :: true 2022-07-15 23:04:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:04:58 | command: <data><node>node_vndl0p0204</node><expire-at>2022-07-16T06:05:03Z</expire-at><entry><content>content_i345z10208</content></entry></data> 2022-07-15 23:04:58 | target: http://localhost:8088 2022-07-15 23:04:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 23:04:58 | entity: <data><node>node_vndl0p0204</node><expire-at>2022-07-16T06:05:03Z</expire-at><entry><content>content_i345z10208</content></entry></data> 2022-07-15 23:04:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:04:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:04:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>108f0e19-1762-465a-a6c8-6d81ea78e897</value></item-id></result> 2022-07-15 23:04:58 | contains: true 2022-07-15 23:05:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-15 23:05:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-15 23:05:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-15 23:05:06 | [Mutex] waiting for: [user_regularytyiyl0203@test-domain.com:message:received:content_i345z10208] 2022-07-15 23:05:21 | [Mutex] timeout. Not received [user_regularytyiyl0203@test-domain.com:message:received:content_i345z10208] 2022-07-15 23:05:21 | [Mutex] received everything. 2022-07-15 23:05:21 | [Mutex] isItemNotified: user_regularytyiyl0203@test-domain.com:message:received:content_i345z10208 :: false 2022-07-15 23:05:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i345z10208 :: true |