Test duration : 44.899s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.641s |
2022-07-07 22:32:16 |
2022-07-07 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-07 22:32:16 | ------------------------------------ 2022-07-07 22:32:16 | [Mutex] isItemNotified: node_hylp580204:exists :: false 2022-07-07 22:32:16 | [Mutex] waiting for: [node_hylp580204:create_node] 2022-07-07 22:32:16 | [Mutex] received everything. 2022-07-07 22:32:16 | [Mutex] isItemNotified: node_hylp580204:create_node:success :: true 2022-07-07 22:32:16 | [Mutex] waiting for: [node_hylp580204:subscribe_node] 2022-07-07 22:32:16 | [Mutex] waiting for: [node_hylp580204:subscribe_node] 2022-07-07 22:32:16 | [Mutex] received everything. 2022-07-07 22:32:16 | [Mutex] isItemNotified: node_hylp580204:subscribe_node:success :: true 2022-07-07 22:32:16 | ===== publishing normal message (to online) 2022-07-07 22:32:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 22:32:16 | command: <data><node>node_hylp580204</node><entry><content>content_ri08er0205</content></entry></data> 2022-07-07 22:32:16 | target: http://localhost:8088 2022-07-07 22:32:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 22:32:16 | entity: <data><node>node_hylp580204</node><entry><content>content_ri08er0205</content></entry></data> 2022-07-07 22:32:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:32:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 22:32:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4588e995-6a7b-49bc-8794-6c889337510e</value></item-id></result> 2022-07-07 22:32:16 | contains: true 2022-07-07 22:32:16 | [Mutex] received everything. 2022-07-07 22:32:16 | [Mutex] isItemNotified: user_regularazz3z50203@test-domain.com:message:received:content_ri08er0205 :: true 2022-07-07 22:32:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-07 22:32:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 22:32:16 | command: <data><node>node_hylp580204</node><expire-at>2022-07-08T05:32:11Z</expire-at><entry><content>content_yrwwxn0206</content></entry></data> 2022-07-07 22:32:16 | target: http://localhost:8088 2022-07-07 22:32:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-07 22:32:16 | entity: <data><node>node_hylp580204</node><expire-at>2022-07-08T05:32:11Z</expire-at><entry><content>content_yrwwxn0206</content></entry></data> 2022-07-07 22:32:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:32:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 22:32:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ee23aa7-7dbe-4014-b4f1-ebddbad48f8f</value></item-id></result> 2022-07-07 22:32:16 | contains: true 2022-07-07 22:32:16 | [Mutex] waiting for: [user_regularazz3z50203@test-domain.com:message:received:content_yrwwxn0206] 2022-07-07 22:32:31 | [Mutex] timeout. Not received [user_regularazz3z50203@test-domain.com:message:received:content_yrwwxn0206] 2022-07-07 22:32:31 | [Mutex] isItemNotified: user_regularazz3z50203@test-domain.com:message:received:content_yrwwxn0206 :: false 2022-07-07 22:32:31 | ===== publishing normal message (to offline) 2022-07-07 22:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 22:32:31 | command: <data><node>node_hylp580204</node><entry><content>content_nbcmop0207</content></entry></data> 2022-07-07 22:32:31 | target: http://localhost:8088 2022-07-07 22:32:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 22:32:31 | entity: <data><node>node_hylp580204</node><entry><content>content_nbcmop0207</content></entry></data> 2022-07-07 22:32:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:32:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 22:32:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf5e5786-b37c-49ef-8939-5ddd49c6fda2</value></item-id></result> 2022-07-07 22:32:32 | contains: true 2022-07-07 22:32:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-07 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-07 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-07 22:32:37 | [Mutex] waiting for: [user_regularazz3z50203@test-domain.com:message:received:content_nbcmop0207] 2022-07-07 22:32:37 | [Mutex] received everything. 2022-07-07 22:32:37 | [Mutex] isItemNotified: user_regularazz3z50203@test-domain.com:message:received:content_nbcmop0207 :: true 2022-07-07 22:32:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-07 22:32:37 | [Mutex] received everything. 2022-07-07 22:32:37 | [Mutex] isItemNotified: node_hylp580204:subscribe_node:success :: true 2022-07-07 22:32:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 22:32:37 | command: <data><node>node_hylp580204</node><expire-at>2022-07-08T05:32:42Z</expire-at><entry><content>content_1m5a8f0208</content></entry></data> 2022-07-07 22:32:37 | target: http://localhost:8088 2022-07-07 22:32:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-07 22:32:37 | entity: <data><node>node_hylp580204</node><expire-at>2022-07-08T05:32:42Z</expire-at><entry><content>content_1m5a8f0208</content></entry></data> 2022-07-07 22:32:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:32:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 22:32:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac59dcdb-0a52-45e9-a4ab-6fdffdae4794</value></item-id></result> 2022-07-07 22:32:37 | contains: true 2022-07-07 22:32:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-07 22:32:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-07 22:32:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-07 22:32:45 | [Mutex] waiting for: [user_regularazz3z50203@test-domain.com:message:received:content_1m5a8f0208] 2022-07-07 22:32:45 | [Mutex] waiting for: [user_regularazz3z50203@test-domain.com:message:received:content_1m5a8f0208] 2022-07-07 22:32:45 | [Mutex] waiting for: [user_regularazz3z50203@test-domain.com:message:received:content_1m5a8f0208] 2022-07-07 22:33:00 | [Mutex] timeout. Not received [user_regularazz3z50203@test-domain.com:message:received:content_1m5a8f0208] 2022-07-07 22:33:00 | [Mutex] received everything. 2022-07-07 22:33:00 | [Mutex] isItemNotified: user_regularazz3z50203@test-domain.com:message:received:content_1m5a8f0208 :: false 2022-07-07 22:33:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1m5a8f0208 :: true |