Test duration: 45.499s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.687s |
2020-06-16 23:22:27 |
2020-06-16 23:22:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-16 23:22:27 | ------------------------------------ 2020-06-16 23:22:27 | [Mutex] isItemNotified: node_6i1jgv0202:exists :: false 2020-06-16 23:22:27 | [Mutex] waiting for: [node_6i1jgv0202:create_node] 2020-06-16 23:22:27 | [Mutex] waiting for: [node_6i1jgv0202:create_node] 2020-06-16 23:22:27 | [Mutex] received everything. 2020-06-16 23:22:27 | [Mutex] isItemNotified: node_6i1jgv0202:create_node:success :: true 2020-06-16 23:22:27 | [Mutex] waiting for: [node_6i1jgv0202:subscribe_node] 2020-06-16 23:22:27 | [Mutex] received everything. 2020-06-16 23:22:27 | [Mutex] isItemNotified: node_6i1jgv0202:subscribe_node:success :: true 2020-06-16 23:22:27 | ===== publishing normal message (to online) 2020-06-16 23:22:27 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 23:22:27 | command: <data><node>node_6i1jgv0202</node><entry><content>content_kmfw7x0203</content></entry></data> 2020-06-16 23:22:27 | target: http://localhost:8088 2020-06-16 23:22:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-16 23:22:27 | entity: <data><node>node_6i1jgv0202</node><entry><content>content_kmfw7x0203</content></entry></data> 2020-06-16 23:22:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 06:22:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 23:22:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b811c7e-fa9d-4881-8363-ae7ff2ece16c</value></item-id></result> 2020-06-16 23:22:27 | contains: true 2020-06-16 23:22:27 | [Mutex] received everything. 2020-06-16 23:22:27 | [Mutex] isItemNotified: user_regulart4a0a10201@localhost:message:received:content_kmfw7x0203 :: true 2020-06-16 23:22:27 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-16 23:22:27 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 23:22:27 | command: <data><node>node_6i1jgv0202</node><expire-at>2020-06-17T06:22:22Z</expire-at><entry><content>content_xyx04n0204</content></entry></data> 2020-06-16 23:22:27 | target: http://localhost:8088 2020-06-16 23:22:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-16 23:22:27 | entity: <data><node>node_6i1jgv0202</node><expire-at>2020-06-17T06:22:22Z</expire-at><entry><content>content_xyx04n0204</content></entry></data> 2020-06-16 23:22:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 06:22:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 23:22:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>31104e5b-5399-4883-88c9-3d2b0de4638a</value></item-id></result> 2020-06-16 23:22:27 | contains: true 2020-06-16 23:22:27 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_xyx04n0204] 2020-06-16 23:22:42 | [Mutex] timeout. Not received [user_regulart4a0a10201@localhost:message:received:content_xyx04n0204] 2020-06-16 23:22:42 | [Mutex] isItemNotified: user_regulart4a0a10201@localhost:message:received:content_xyx04n0204 :: false 2020-06-16 23:22:42 | ===== publishing normal message (to offline) 2020-06-16 23:22:42 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 23:22:42 | command: <data><node>node_6i1jgv0202</node><entry><content>content_o4hr0n0205</content></entry></data> 2020-06-16 23:22:42 | target: http://localhost:8088 2020-06-16 23:22:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-16 23:22:42 | entity: <data><node>node_6i1jgv0202</node><entry><content>content_o4hr0n0205</content></entry></data> 2020-06-16 23:22:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 06:22:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 23:22:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ffc9093-316e-4e13-8ca5-803cb914c0e9</value></item-id></result> 2020-06-16 23:22:42 | contains: true 2020-06-16 23:22:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-16 23:22:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] DNS entry stored in session object: localhost:5222 2020-06-16 23:22:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-16 23:22:48 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_o4hr0n0205] 2020-06-16 23:22:48 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_o4hr0n0205] 2020-06-16 23:22:48 | [Mutex] received everything. 2020-06-16 23:22:48 | [Mutex] isItemNotified: user_regulart4a0a10201@localhost:message:received:content_o4hr0n0205 :: true 2020-06-16 23:22:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-16 23:22:48 | [Mutex] received everything. 2020-06-16 23:22:48 | [Mutex] isItemNotified: node_6i1jgv0202:subscribe_node:success :: true 2020-06-16 23:22:48 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 23:22:48 | command: <data><node>node_6i1jgv0202</node><expire-at>2020-06-17T06:22:53Z</expire-at><entry><content>content_qrhu900206</content></entry></data> 2020-06-16 23:22:48 | target: http://localhost:8088 2020-06-16 23:22:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-16 23:22:48 | entity: <data><node>node_6i1jgv0202</node><expire-at>2020-06-17T06:22:53Z</expire-at><entry><content>content_qrhu900206</content></entry></data> 2020-06-16 23:22:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 06:22:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 23:22:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a29c36a1-cec1-4647-895f-0a5338473305</value></item-id></result> 2020-06-16 23:22:48 | contains: true 2020-06-16 23:22:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-16 23:22:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2020-06-16 23:22:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-16 23:22:56 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_qrhu900206] 2020-06-16 23:22:56 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_qrhu900206] 2020-06-16 23:22:56 | [Mutex] waiting for: [user_regulart4a0a10201@localhost:message:received:content_qrhu900206] 2020-06-16 23:23:11 | [Mutex] timeout. Not received [user_regulart4a0a10201@localhost:message:received:content_qrhu900206] 2020-06-16 23:23:11 | [Mutex] received everything. 2020-06-16 23:23:11 | [Mutex] isItemNotified: user_regulart4a0a10201@localhost:message:received:content_qrhu900206 :: false 2020-06-16 23:23:11 | [Mutex] isItemNotified: admin@localhost:message:received:content_qrhu900206 :: true |