xmpp

Testing XMPP Chat Server with JMeter

十年热恋 提交于 2020-01-03 11:12:12
问题 I'm looking to do some performance and load testing on a XMPP/HTTP Web services server using JMeter. I'm new to JMeter and am starting to get my head around the basics, but I would like to get these tests up and running ASAP so am reaching out for some help. I was able to find a sample JMeter Test Plan which I was hopeful I could adapt and get up and running in no time, however that didn't really pan out, using Wireshark, messages from the client are sent using TCP. I tried using this yandex

free iPhone app with trial chat period and subsequent subscription?

ぐ巨炮叔叔 提交于 2020-01-03 05:53:15
问题 Is it possible to have a free iPhone app that has say an initial 3 month ability to chat, and then after the 3 months has expired the user purchases a non-renewable subscription for additional chat time? E.G. for one month, four months, or one year? Specifically I am asking is it OK in a free app to have functionality that initially works, but after a fixed period of time no longer works unless you pay? With Mac apps one can have a trial period. See this link. So I would think one could do

Send a Facebook Message with XMPP using Access Tokens in Python

允我心安 提交于 2020-01-03 05:30:12
问题 This is a very specific question, but I cannot find any documentation on how I can do it. The Facebook Documentation is pretty vague with some horrible and useless PHP examples (really, it's code like the Facebook PHP Sample Code that make people think PHP sucks) but I cannot find anything around for Python. I can't even work out how to apply the same principles from the PHP sample code into a Python world. The xmpppy and SleekXMPP docs are a bit bare (or broken) and Google only shows

XMPP ( with smack) - Adding Friend

不想你离开。 提交于 2020-01-03 03:31:25
问题 In my chat application when I have to add a friend I have to follow this process - Suppose A->B ist : A will send subscribe packet to B ( server entry shows NONE subscription ) iind - B will send subscribed packet to A ( server entry will be - TO/FROM) iiird - B will again send subscribe packet to A ( server entry TO/FROM ) ivth - A will send subscribed packet to B ( server entry BOTH ) Each time a notification is sent to the concerned user and after allowing corresponding packet is sent. I

Parse and Xmpp login at the same time with facebook intergation

大憨熊 提交于 2020-01-03 03:10:33
问题 I am in the process of building a cross platform messaging application. Using parse.com and XMPPserver i have already created the prase user. so it is possible to login into same server at the same time. i am having pblm in login with the xmpp server. 回答1: Parse.com provides back-end support for your mobile application.You have already used openfire as back-end so you can not login to parse.com as a user which was created in your server. There is a way that you can register user at both parse

Chat app using jquerymobile web app framework

心不动则不痛 提交于 2020-01-02 18:57:22
问题 I my previous question I asked how to implement the chat feature using client side technology especially using jquery mobile. I had also put up the question in the jquery mobile forums too but I was disappointed. Finally I was able to set-up a chat feature on my local machine by referring this blog I am running jsJac client side chat but now I am implement the same thing using jquery mobile frame work I googled and try to figure out how it can be done, but could not find any examples as such.

How Can I create,send and receive iq packets using smack(java)

做~自己de王妃 提交于 2020-01-02 06:30:51
问题 I am connected to server(Xmpp) but unable to send and receive packets at my psi client Here is snippet of my code POSClientIQ posclientiq = new POSClientIQ(); posclientiq.connectXMPPServer(); posclientiq.processMessage(); } public void processMessage() { try{ final IQ iq1 = new IQ() { public String getChildElementXML() { return "<iq type='get' from ='sam'><query xmlns='jabber:iq:roster'></query></iq>"; } }; iq1.setType(IQ.Type.GET); // PacketCollector collector = connection

Could not establish socket with any provided host

对着背影说爱祢 提交于 2020-01-02 05:05:09
问题 I am struggling with file transfer in android.I am using smack 4.1 to connect to openfire server. My problem is: When i am using Spark to Spark file transfer, it works fine.But when i transfer file from Spark to Android or Android to Android , The iq received showing error "Could not establish socket with any provided host" like this: <iq id="018vq-231" to="sender@domain.com/Spark 2.6.3" from="receiver@domain.com/Smack" type="error"> <error code="-1" type="CANCEL"> <item-not-found xmlns="urn

server push for millions of concurrent connections

主宰稳场 提交于 2020-01-02 03:23:06
问题 I am building a distributed system that consists of potentially millions of clients which all need to keep an open (preferrably HTTP) connection to wait for a command from the server (which is running somewhere else). The load of messages / commmands will not be very high, maybe one message / sec / 1000 clients which means it would be 1000 msg/sec @ 1 million clients. => it's basically about the concurrent connections. The requirements are simple too. One way messaging (server->client), only

How to send image in chat usig xmpp framework

孤人 提交于 2020-01-01 22:28:26
问题 Hi I am making an app based on the chatting I can send chat messages, but if i add image attachment to the chat message, its not working.here is my message code if (![[messageStr stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] && imgURL==nil) { return; } NSString *MyString; NSDate *now = [NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"HH:mm,yyyy/MM/dd"]; MyString = [dateFormatter