Test duration : 44.833s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.611s |
2022-07-09 22:33:05 |
2022-07-09 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-09 22:33:05 | ------------------------------------ 2022-07-09 22:33:05 | [Mutex] isItemNotified: node_jhm7eg0204:exists :: false 2022-07-09 22:33:05 | [Mutex] waiting for: [node_jhm7eg0204:create_node] 2022-07-09 22:33:05 | [Mutex] received everything. 2022-07-09 22:33:05 | [Mutex] isItemNotified: node_jhm7eg0204:create_node:success :: true 2022-07-09 22:33:05 | [Mutex] waiting for: [node_jhm7eg0204:subscribe_node] 2022-07-09 22:33:05 | [Mutex] received everything. 2022-07-09 22:33:05 | [Mutex] isItemNotified: node_jhm7eg0204:subscribe_node:success :: true 2022-07-09 22:33:05 | ===== publishing normal message (to online) 2022-07-09 22:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-09 22:33:05 | command: <data><node>node_jhm7eg0204</node><entry><content>content_ki2p630205</content></entry></data> 2022-07-09 22:33:05 | target: http://localhost:8088 2022-07-09 22:33:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-09 22:33:05 | entity: <data><node>node_jhm7eg0204</node><entry><content>content_ki2p630205</content></entry></data> 2022-07-09 22:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-09 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6fb10087-9888-4dfa-bd98-104c9b7b3dc7</value></item-id></result> 2022-07-09 22:33:05 | contains: true 2022-07-09 22:33:05 | [Mutex] received everything. 2022-07-09 22:33:05 | [Mutex] isItemNotified: user_regulartvtpul0203@test-domain.com:message:received:content_ki2p630205 :: true 2022-07-09 22:33:05 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-09 22:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-09 22:33:05 | command: <data><node>node_jhm7eg0204</node><expire-at>2022-07-10T05:33:00Z</expire-at><entry><content>content_n7vm430206</content></entry></data> 2022-07-09 22:33:05 | target: http://localhost:8088 2022-07-09 22:33:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-09 22:33:05 | entity: <data><node>node_jhm7eg0204</node><expire-at>2022-07-10T05:33:00Z</expire-at><entry><content>content_n7vm430206</content></entry></data> 2022-07-09 22:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-09 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78bdfc5c-0cbf-4388-bcbf-3ba1f2d27cca</value></item-id></result> 2022-07-09 22:33:05 | contains: true 2022-07-09 22:33:05 | [Mutex] waiting for: [user_regulartvtpul0203@test-domain.com:message:received:content_n7vm430206] 2022-07-09 22:33:20 | [Mutex] timeout. Not received [user_regulartvtpul0203@test-domain.com:message:received:content_n7vm430206] 2022-07-09 22:33:20 | [Mutex] isItemNotified: user_regulartvtpul0203@test-domain.com:message:received:content_n7vm430206 :: false 2022-07-09 22:33:20 | ===== publishing normal message (to offline) 2022-07-09 22:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-09 22:33:20 | command: <data><node>node_jhm7eg0204</node><entry><content>content_d7k99o0207</content></entry></data> 2022-07-09 22:33:20 | target: http://localhost:8088 2022-07-09 22:33:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-09 22:33:20 | entity: <data><node>node_jhm7eg0204</node><entry><content>content_d7k99o0207</content></entry></data> 2022-07-09 22:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-09 22:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc0855dd-feb8-481b-a3e6-ec9bc831610f</value></item-id></result> 2022-07-09 22:33:20 | contains: true 2022-07-09 22:33:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-09 22:33:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-09 22:33:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-09 22:33:25 | [Mutex] waiting for: [user_regulartvtpul0203@test-domain.com:message:received:content_d7k99o0207] 2022-07-09 22:33:25 | [Mutex] received everything. 2022-07-09 22:33:25 | [Mutex] isItemNotified: user_regulartvtpul0203@test-domain.com:message:received:content_d7k99o0207 :: true 2022-07-09 22:33:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-09 22:33:25 | [Mutex] received everything. 2022-07-09 22:33:25 | [Mutex] isItemNotified: node_jhm7eg0204:subscribe_node:success :: true 2022-07-09 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-09 22:33:25 | command: <data><node>node_jhm7eg0204</node><expire-at>2022-07-10T05:33:30Z</expire-at><entry><content>content_qvd1240208</content></entry></data> 2022-07-09 22:33:25 | target: http://localhost:8088 2022-07-09 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-09 22:33:25 | entity: <data><node>node_jhm7eg0204</node><expire-at>2022-07-10T05:33:30Z</expire-at><entry><content>content_qvd1240208</content></entry></data> 2022-07-09 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-09 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d7e9a12c-8ff1-4644-b236-c64d39d6bf36</value></item-id></result> 2022-07-09 22:33:25 | contains: true 2022-07-09 22:33:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-09 22:33:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-09 22:33:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-09 22:33:33 | [Mutex] waiting for: [user_regulartvtpul0203@test-domain.com:message:received:content_qvd1240208] 2022-07-09 22:33:33 | [Mutex] waiting for: [user_regulartvtpul0203@test-domain.com:message:received:content_qvd1240208] 2022-07-09 22:33:48 | [Mutex] timeout. Not received [user_regulartvtpul0203@test-domain.com:message:received:content_qvd1240208] 2022-07-09 22:33:48 | [Mutex] received everything. 2022-07-09 22:33:48 | [Mutex] isItemNotified: user_regulartvtpul0203@test-domain.com:message:received:content_qvd1240208 :: false 2022-07-09 22:33:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qvd1240208 :: true |