Test duration : 44.591s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.549s |
2022-07-15 22:32:06 |
2022-07-15 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-15 22:32:06 | ------------------------------------ 2022-07-15 22:32:06 | [Mutex] isItemNotified: node_ilgawd0204:exists :: false 2022-07-15 22:32:06 | [Mutex] waiting for: [node_ilgawd0204:create_node] 2022-07-15 22:32:06 | [Mutex] received everything. 2022-07-15 22:32:06 | [Mutex] isItemNotified: node_ilgawd0204:create_node:success :: true 2022-07-15 22:32:06 | [Mutex] waiting for: [node_ilgawd0204:subscribe_node] 2022-07-15 22:32:06 | [Mutex] waiting for: [node_ilgawd0204:subscribe_node] 2022-07-15 22:32:06 | [Mutex] received everything. 2022-07-15 22:32:06 | [Mutex] isItemNotified: node_ilgawd0204:subscribe_node:success :: true 2022-07-15 22:32:06 | ===== publishing normal message (to online) 2022-07-15 22:32:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 22:32:06 | command: <data><node>node_ilgawd0204</node><entry><content>content_79qsti0205</content></entry></data> 2022-07-15 22:32:06 | target: http://localhost:8088 2022-07-15 22:32:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 22:32:06 | entity: <data><node>node_ilgawd0204</node><entry><content>content_79qsti0205</content></entry></data> 2022-07-15 22:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 05:32:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 22:32:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a957e0a5-4886-4bd4-96cd-f901dfc7a936</value></item-id></result> 2022-07-15 22:32:06 | contains: true 2022-07-15 22:32:06 | [Mutex] waiting for: [user_regularta9bu20203@test-domain.com:message:received:content_79qsti0205] 2022-07-15 22:32:06 | [Mutex] received everything. 2022-07-15 22:32:06 | [Mutex] isItemNotified: user_regularta9bu20203@test-domain.com:message:received:content_79qsti0205 :: true 2022-07-15 22:32:06 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-15 22:32:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 22:32:06 | command: <data><node>node_ilgawd0204</node><expire-at>2022-07-16T05:32:01Z</expire-at><entry><content>content_thlp0j0206</content></entry></data> 2022-07-15 22:32:06 | target: http://localhost:8088 2022-07-15 22:32:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 22:32:06 | entity: <data><node>node_ilgawd0204</node><expire-at>2022-07-16T05:32:01Z</expire-at><entry><content>content_thlp0j0206</content></entry></data> 2022-07-15 22:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 05:32:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 22:32:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ec2f9e0-ef42-47fb-8e75-40e9aac7a624</value></item-id></result> 2022-07-15 22:32:07 | contains: true 2022-07-15 22:32:07 | [Mutex] waiting for: [user_regularta9bu20203@test-domain.com:message:received:content_thlp0j0206] 2022-07-15 22:32:22 | [Mutex] timeout. Not received [user_regularta9bu20203@test-domain.com:message:received:content_thlp0j0206] 2022-07-15 22:32:22 | [Mutex] isItemNotified: user_regularta9bu20203@test-domain.com:message:received:content_thlp0j0206 :: false 2022-07-15 22:32:22 | ===== publishing normal message (to offline) 2022-07-15 22:32:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 22:32:22 | command: <data><node>node_ilgawd0204</node><entry><content>content_vc2y7e0207</content></entry></data> 2022-07-15 22:32:22 | target: http://localhost:8088 2022-07-15 22:32:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 22:32:22 | entity: <data><node>node_ilgawd0204</node><entry><content>content_vc2y7e0207</content></entry></data> 2022-07-15 22:32:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 05:32:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 22:32:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a9934258-1dc5-46ad-b86d-dac38775d35b</value></item-id></result> 2022-07-15 22:32:22 | contains: true 2022-07-15 22:32:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-15 22:32:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-15 22:32:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-15 22:32:27 | [Mutex] waiting for: [user_regularta9bu20203@test-domain.com:message:received:content_vc2y7e0207] 2022-07-15 22:32:27 | [Mutex] waiting for: [user_regularta9bu20203@test-domain.com:message:received:content_vc2y7e0207] 2022-07-15 22:32:27 | [Mutex] received everything. 2022-07-15 22:32:27 | [Mutex] isItemNotified: user_regularta9bu20203@test-domain.com:message:received:content_vc2y7e0207 :: true 2022-07-15 22:32:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-15 22:32:27 | [Mutex] received everything. 2022-07-15 22:32:27 | [Mutex] isItemNotified: node_ilgawd0204:subscribe_node:success :: true 2022-07-15 22:32:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 22:32:27 | command: <data><node>node_ilgawd0204</node><expire-at>2022-07-16T05:32:32Z</expire-at><entry><content>content_4w5ye30208</content></entry></data> 2022-07-15 22:32:27 | target: http://localhost:8088 2022-07-15 22:32:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 22:32:27 | entity: <data><node>node_ilgawd0204</node><expire-at>2022-07-16T05:32:32Z</expire-at><entry><content>content_4w5ye30208</content></entry></data> 2022-07-15 22:32:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 05:32:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 22:32:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>393d22cb-f5b4-4bd8-8790-ac13709fe7eb</value></item-id></result> 2022-07-15 22:32:27 | contains: true 2022-07-15 22:32:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-15 22:32:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-15 22:32:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-15 22:32:35 | [Mutex] waiting for: [user_regularta9bu20203@test-domain.com:message:received:content_4w5ye30208] 2022-07-15 22:32:50 | [Mutex] timeout. Not received [user_regularta9bu20203@test-domain.com:message:received:content_4w5ye30208] 2022-07-15 22:32:50 | [Mutex] received everything. 2022-07-15 22:32:50 | [Mutex] isItemNotified: user_regularta9bu20203@test-domain.com:message:received:content_4w5ye30208 :: false 2022-07-15 22:32:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4w5ye30208 :: true |