Jmeter Connection Timeout when accessing sharepoint - sharepoint

I'm doing some load stress test for my PowerBI service in Sharepoint.
the test case that I'm doing is simple enough :
Accessing my PowerBI report in sharepoint with 50 different users at the same time.
to do that, I'm using jmeter as my testing tools and following the tutorial that I found below:
tutorial
This is the setting that I come up with:
a. in my Thread Group, I set 10 users to access in 10 seconds for 10 times
b. I also set HTTP authentication manager. I put my user(mail address) and password which I used to login into the sharepoint
c. On my HTTP request I set the Host with my sharepoint address and the path with my PowerBI report files path inside the sharepoint
when I start my test plan with that setting, the result on my table showing that I have a warning
and when I check the log, it shows that my connection into sharepoint has been timed out
Do anyone knows where did I set wrong?
or maybe a tutorial to set the Jmeter itself would be appreciated.
regards,
add my HTTP authentication info.
BASE URL : inserted microsoft ID login page and my company login page
Username : my company AD email
Password : my company AD password

For SharePoint application test in JMeter, It's better to use the Recording template or configure test plan to record steps.
Otherwise, for authentication error will show every time. I have used test recording for SharePoint applications

Related

Problems accessing azure data explorer free cluster

I am trying use https://dataexplorer.azure.com/freecluster. I have succefully logged in with my personal email id and created a table. I am able to query data run basic commands..etc. Then i was trying to create a java app to query to my data base. So i navigated to this link https://dataexplorer.azure.com/oneclick, and created a java application downloaded it. When i run this sample program it prompts for login but when i give the email id it shows this error. May i know what is going wrong here?
NB: I have used the same personal account which i used to login and query to ADX via web UI.

Rest Web API shows records in localserver, but not in IIS

I am trying to use Rest web API , to retrieve data.
When i am building and executing it using localserver, it is displaying the data.
But, when i publish it and use IIS to access it does not show any data. and shows this
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
i am already using the same API for the functions of fileupload and they are working. Its just the matter of database, whenever i have to access database,it showing me the error above(This error means that no data is fetched).
Can you please help me with it?
Thanks in advance
The common reason behind the issue is iis user does not have enough permission to access the database.
To resolve the issue you can assign the database domain user which has enigh access to the database to the application pool by following below steps:
1)Open iis manager
2)select your application pool -> advanced setting.
3)Under Process Model, click on the “Identity” value and select “Custom account”.
enter your domain user name(DOMAIN\USERNAME) and password which user has to access to the database and click ok to apply the changes.
after applying changes select the application pool and click on the “Recycle”.
If you still face an issue you could refer below link for how to configure application pool user in SQL server.
https://forums.iis.net/post/2159167.aspx

How do I view the User Agent of outgoing requests to SharePoint made from my Azure Web Application?

I'm following the guidance from Microsoft on decorating traffic to avoid throttling. This guidance specifies that you set a specific User Agent on outgoing requests from the application to SharePoint via CSOM when making API calls.
I have made this change, and would like to now verify that the User Agent is in fact appropriately modified on API calls to SharePoint.
My provider-hosted application is hosted on Azure, and while I can see CSOM calls to SharePoint (https://(mytenancy).sharepoint.com/sites/(mysite)/_vti_bin/client.svc/ProcessQuery) in the Application Map as a dependency, I can't figure out how to view the actual outbound request so as to examine it for the User Agent string.
How can I view the User Agent string on outbound requests from my Azure application? How can I verify that I've set the User Agent string on my calls to the SharePoint API?
Additional Info:
I have tried running the application as well on localhost and employed the use of Wireshark and Fiddler, but I'm only picking up requests to client.svc/ProcessQuery with my browser's User Agent string. I get the feeling I'm not even seeing all the CSOM requests.
User Agent is used for determining browser and browser version , however it seems to be dropped in processing and not available in search or export.
Please have a look at below links for further details.
UserAgent not transfered
UserAgent, Lat/Long and URL expansion data removed
Hope this information helps.
To provide feedback for the team on this specific feature , please refer to this link and upvote.
Support for viewing Raw body requests is something being considered by the Product team. Please refer here for more details on it.

Unable to connect to Sharepoint in Salesforce using File-connect

I want to view my Sharepoint documnets in salesforce using "File Connect" introduced in Winter15 release for connecting to External Data source but i am facing a problem to connect to sharepoint. I have used the follwing link for Set Up Salesforce Files Connect :
http://releasenotes.docs.salesforce.com/en-us/api_cti/release-notes/rn_chatter_files_connect_setup.htm and followed the steps below :
1) First, enable Files Connect, and let users access related
external data sources
a) Enable Files Connect for your organization.
b) Let users access Files Connect data sources.
2) For cloud-based data sources, create an authentication provider, and then define the source
a) Create a SharePoint Online authentication provider.
b) Define a SharePoint Online external data source for Files Connect.
But when completing the step2 b) and clicking on Start Authentication Flow on Save as checked and saving it takes me to sharepoint login page and when logged in to sharepoint following error occurs:
The query String "redirect_uri" is missing or invalid
I have checked lots of sites but unable to correct fix this issue.If anyone has knowledge please,please share it with me as soon as possible .
My guess is that either your Salesforce auth provider is not correctly configured or that your SharePoint Online app is not correctly configured.
I would recommend opening a ticket with the Salesforce support team so that they have a look at your configuration.
am also working on this
i faced an issue
when woking with external data source:
can u let me know what is to be filled in this field "Authentication Provider"--which is a look up field when i click on this nothing appears.
and my authentication protcol is Oauth.

Hiding Reports Based on Security in SSRS 2008 R2

I currently have my report server set up so that a user's AD groups determines which reports they can run. The user can be access the reports through either Report Manager or a custom site that I've created.
To reduce clutter, I would like to make it so that the user won't be able to see any reports or folders to which they do not have access. I can't find a setting in Report Manager or a way to do this using the ReportService in my web app. Is it possible to do this?
Report Manager does work that way. If they are seeing folders or reports, they have access and you may want to double check your authorization settings.
With regard to your custom application, you'll probably want to make sure you are passing in the logged in users credentials to the report server. If your custom application runs under a security context that has full access on the report server, then users will be able to access reports they shouldn't be able to access.

Resources